.horse-animation {
    width: 380px;
    height: 302px;
    background: url('http://.../horse-sprite.jpg') 0 0 no-repeat;
    margin: 0 auto;
    background-size: cover;
    animation: kf_horse_running 1s steps(8) infinite;
}

@keyframes kf_horse_running {
    0% {background-position: 0 0; } 
    100% {background-position: 0 -2416px; } 
}