Created
April 1, 2015 14:08
-
-
Save nickcherry/560e22cb8c1a50f8cb78 to your computer and use it in GitHub Desktop.
Chained Transition
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
@mixin fade-in-out($duration: 0.6s, $ease: ease-out, $delay: 0s) { | |
opacity: 0; | |
transition: visibility 0s $ease ($duration + $delay), opacity $duration $ease $delay; | |
visibility: hidden; | |
&.visible { | |
opacity: 1; | |
transition-delay: 0s; | |
visibility: visible; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment