<div></div>
body{ background-color:#781A6A; } div{ position: absolute; top: 50%; left: 50%; margin: -75px 0 0 -75px; background-image: url("http://minimalmonkey.com/lab/css3-animations/twitter-bird-sprite.png"); height: 150px; width: 150px; animation: tweet 0.2s steps(4) infinite; } @keyframes tweet{ 100%{ background-position:-600px 0; } }