Created
June 29, 2018 14:49
-
-
Save Origame/bae8547c345f98d44ef3ff5eecbb8e5a to your computer and use it in GitHub Desktop.
SCSS - Visibility transition mixin
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
@keyframes fadeIn { | |
0% { | |
opacity: 0; | |
} | |
100% { | |
visibility: visible; | |
opacity: 1; | |
} | |
} | |
@keyframes fadeOut { | |
0% { | |
opacity: 1; | |
visibility: visible; | |
} | |
99% { | |
visibility: visible; | |
opacity: 0; | |
} | |
100% { | |
visibility: hidden; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment