Skip to content

Instantly share code, notes, and snippets.

@janily
Created February 16, 2013 13:44
Show Gist options
  • Save janily/4966992 to your computer and use it in GitHub Desktop.
Save janily/4966992 to your computer and use it in GitHub Desktop.
Untitled
#box {
width:100px;
height:100px;
border:6px solid #444;
background:red;
animation:change 3s infinite;
}
@keyframes change {
0% {background:red;}
100% {background:blue;}
}
<!-- content to be placed inside <body>…</body> -->
<div id="box">
</div>
// 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