Created
January 19, 2017 06:06
-
-
Save zhuzhuaicoding/8c02c065157e6ff5e63507fcfbe7d9a9 to your computer and use it in GitHub Desktop.
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
.anim-fill-both { | |
animation-fill-mode: forwards; | |
} | |
//animations | |
@keyframes pop { | |
0% { | |
transform: scale(0.9) translateZ(0); | |
} | |
100% { | |
transform: scale(1) translateZ(0); | |
} | |
} | |
.pop { | |
animation-name: pop; | |
@extend .anim-fill-both; | |
} | |
@keyframes unpop { | |
0% { | |
transform: scale(1) translateZ(0); | |
} | |
100% { | |
transform: scale(0.9) translateZ(0); | |
} | |
} | |
.unpop { | |
animation-name: unpop; | |
@extend .anim-fill-both; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment