Created
March 9, 2012 06:08
-
-
Save paceaux/2005282 to your computer and use it in GitHub Desktop.
A quick and dirty boilerplate for webkit animations
This file contains hidden or 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
@-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