Last active
October 3, 2016 06:53
-
-
Save daveyjones/110b24fef188e1297fd0f0252e527413 to your computer and use it in GitHub Desktop.
Modal fade in and out using LESS
This file contains 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
@easing: cubic-bezier(0.19, 1, 0.22, 1); | |
.modal { | |
opacity: 0; | |
transition: opacity 500ms @easing, visibility 0s linear 500ms; | |
&.visible { | |
visibility: visible; | |
opacity: 1; | |
transition: opacity 500ms @easing; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment