Skip to content

Instantly share code, notes, and snippets.

@Daniel-Hug
Created April 17, 2013 20:33
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 Daniel-Hug/5407532 to your computer and use it in GitHub Desktop.
Save Daniel-Hug/5407532 to your computer and use it in GitHub Desktop.
keyframe animation test
/**
* keyframe animation test
*/
@-webkit-keyframes myanim {
50% { background: blue }
}
@-moz-keyframes myanim {
50% { background: blue }
}
@-o-keyframes myanim {
50% { background: blue }
}
@keyframes myanim {
50% { background: blue }
}
html {
background: red;
-webkit-animation: myanim 5s infinite;
-moz-animation: myanim 5s infinite;
-o-animation: myanim 5s infinite;
animation: myanim 5s infinite;
}
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment