Skip to content

Instantly share code, notes, and snippets.

Created May 3, 2013 09:30
Untitled
div {
width: 200px;
height: 200px;
margin: auto;
overflow: hidden;
}
#e {
background-color: lightblue;
transform: rotate(-65deg);
animation: rotateCW 12s linear infinite;
}
#e:hover { background-color: khaki}
#w {
transform: rotate(45deg);
animation: rotateCCW 10s linear infinite;
}
#q {
transform: rotate(30deg);
margin-top: 80px
}
@-moz-keyframes rotateCW {
0% {transform: rotate(30deg)}
100% {transform: rotate(390deg)}
}
@-moz-keyframes rotateCCW {
0% {transform: rotate(40deg)}
100% {transform: rotate(-399deg)}
}
<div id='q'>
<div id='w'>
<div id='e'></div>
</div>
</div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"result"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment