Created
August 8, 2012 00:32
-
-
Save pistachiomatt/3290916 to your computer and use it in GitHub Desktop.
Pop effect
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
.pop { | |
display: block; | |
-webkit-animation-name: pop; | |
-webkit-animation-duration: .6s; | |
-webkit-animation-iteration-count: 1; | |
-webkit-animation-timing-function: ease-in-out; | |
} | |
@-webkit-keyframes pop { | |
from { | |
-webkit-transform: scale(.4); | |
opacity: 0; | |
} | |
46% { | |
-webkit-transform: scale(1.15); | |
opacity: 1; | |
} | |
to { | |
-webkit-transform: scale(1); | |
opacity: 1; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment