Skip to content

Instantly share code, notes, and snippets.

@anthonyringoet
Created May 2, 2013 12:40
Show Gist options
  • Save anthonyringoet/5501930 to your computer and use it in GitHub Desktop.
Save anthonyringoet/5501930 to your computer and use it in GitHub Desktop.
animation one frame
/**
* animation one frame
* from http://lea.verou.me/2012/12/animations-with-one-keyframe/
*/
body{
background: #f06;
text-align:center;
}
@keyframes dang{
50%{ font-size:9em; }
}
.unicode{
font-size:7em;
color:#fff;
animation: dang 0.5s infinite;
}
<!-- content to be placed inside <body>…</body> -->
<span class="unicode">☂</span>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment