Last active
March 10, 2017 11:43
-
-
Save jezell/4bb228d53c4180d044a3ed7f12fbcfad to your computer and use it in GitHub Desktop.
Slide in animation
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
.slide-in { | |
animation: slide-in .5s forwards; | |
overflow: hidden; | |
} | |
@keyframes slide-in { | |
from { | |
max-height: 0px; | |
} | |
99.9% { | |
max-height: 100vh; | |
} | |
to { | |
max-height: 100000vh; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment