Rotation Illusion
Recreation of http://25.media.tumblr.com/a96153d5b96d76108426cd5b8f015b64/tumblrmkqbzpxZSe1r2geqjo1500.gif in CSS
For more awesome geometric loops check out my page for CSS versions and http://beesandbombs.tumblr.com/ for gifs
<div></div>
<div></div>
<div></div>
body { background:black; overflow:hidden; }
body { background:black; overflow:hidden; }
div {
width:300px; height:300px;
border-radius:50%;
position:absolute;
top:50%; left:50%;
margin-top:-150px; margin-left:-150px;
}
div:nth-of-type(1) { background:white; }
div:nth-of-type(2) {
background:black;
animation:zRotate ease-in-out 1.5s infinite;
animation:zRotate ease-in-out 1.5s infinite;
}
@keyframes zRotate {
25% { top:25%; }
50% { transform:scale(.65); }
75% { top:75%; }
}
@-webkit-keyframes zRotate {
25% { top:25%; }
50% { transform:scale(.65); }
75% { top:75%; }
}