Skip to content

Instantly share code, notes, and snippets.

@pistachiomatt
Created August 8, 2012 00:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pistachiomatt/3290916 to your computer and use it in GitHub Desktop.
Save pistachiomatt/3290916 to your computer and use it in GitHub Desktop.
Pop effect
.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