Skip to content

Instantly share code, notes, and snippets.

@paceaux
Created March 9, 2012 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paceaux/2005282 to your computer and use it in GitHub Desktop.
Save paceaux/2005282 to your computer and use it in GitHub Desktop.
A quick and dirty boilerplate for webkit animations
@-webkit-keyframes blink {
from {
opacity: 0.1;
font-size: 100%;
}
to {
opacity: 1.0;
font-size: 200%;
}
}
span {
-webkit-animation-name: blink;
-webkit-animation-duration: 2s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease-in-out;
-webkit-animation-direction: alternate;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment