Created
June 8, 2014 21:40
-
-
Save eternal-turtles/663983c0eed595212d6a to your computer and use it in GitHub Desktop.
modal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #register { | |
| -webkit-transform: translateX(-100.5vw) translateY(-45vh); | |
| transform: translateX(-100.5vw) translateY(-45vh); | |
| } | |
| .show-modal { | |
| margin: auto; | |
| opacity: 1; | |
| -webkit-transform: translateX(0) translateY(0) !important; | |
| transform: translateX(0) translateY(0) !important; | |
| -webkit-transition: -webkit-transform 300ms @ease-out-circ, opacity 600ms @ease-out-expo !important; | |
| transition: transform 300ms @ease-out-circ, opacity 600ms @ease-out-expo !important; | |
| z-index: 800; | |
| } | |
| (function() { | |
| 'use strict'; | |
| $(document).ready( () => { | |
| $('#show-sign-in').click(showSignIn); | |
| }); | |
| function showSignIn (e) { | |
| $('#sign-in').toggleClass('show-modal'); | |
| e.preventDefault(); | |
| } | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment