steps()
CSS キーフレームのオプションを確認してください。
これは私がテストしていない例です...使用の単なるデモですsteps()
...詳細はこちら: Making steps() with CSS animations .
#loader{
border: 2px black solid;
width: 800px;
height: 480px;
background: url('http://i.imgur.com/krQPw.png?1');
background-position: 0px 0px;
background-repeat: no-repeat;
-webkit-animation: play .8s steps(10) infinite;
-moz-animation: play .8s steps(10) infinite;
-ms-animation: play .8s steps(10) infinite;
-o-animation: play .8s steps(10) infinite;
animation: play .8s steps(10) infinite;
}
@-webkit-keyframes play {
from { background-position: 0px; }
to { background-position: -8800px; }
}
@-moz-keyframes play {
from { background-position: 0px; }
to { background-position: -8800px; }
}
@-ms-keyframes play {
from { background-position: 0px; }
to { background-position: -8800px; }
}
@-o-keyframes play {
from { background-position: 0px; }
to { background-position: -8800px; }
}
@keyframes play {
from { background-position: 0px; }
to { background-position: -8800px; }
}