Created
November 28, 2012 15:30
-
-
Save anthonybruno/4161982 to your computer and use it in GitHub Desktop.
Fade in/out CSS3
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
.base { | |
opacity: 0; | |
visibility: hidden; | |
@include transition(visibility 0s linear 200ms, opacity 200ms linear); | |
} | |
.base.active { | |
opacity: 1; | |
visibility: visible; | |
@include transition-delay(0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment