Last active
April 9, 2018 21:09
-
-
Save dbismut/b935a5899793ca238a044d780cfeab44 to your computer and use it in GitHub Desktop.
Part 3 - Classes that will animate the underlay and close icon
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
.page-post { | |
&.post-exit, | |
&.post-enter { | |
.content, | |
.close, | |
.underlay { | |
opacity: 0; | |
} | |
.underlay { | |
transition-delay: 0; | |
} | |
} | |
&.post-enter-started { | |
.content, | |
.underlay { | |
opacity: 1; | |
transition-delay: 100ms; | |
} | |
.close { | |
opacity: 0.7; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment