Is there a reason why the image disappears after the animation completes? :/
.coin {
width: 200px;
height: 200px;
background-size: cover;
animation: CoinflipRoll 6s steps(199);
animation-delay: .5s;
animation-fill-mode: forwards;
background-repeat: no-repeat;
background-image: url("https://i.imgur.com/Mvek2Uy.png");
}
@keyframes CoinflipRoll {
100% {
background-position-y: -39800px;
}
}
<small>Image size is 248x12648</small>
<div class="coin"></div>