JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<style>
img{
width: 60px;
height: 60px;
border: 0px;]
border-style: hidden;
border-style: none;
outline: none;
animation: rotateImages 0.3s infinite;
}
@keyframes rotateImages {
0% { background: url("https://i.stack.imgur.com/d0tnz.png"); }
32% { background: url("https://i.stack.imgur.com/d0tnz.png"); }
33% { background: url("https://i.stack.imgur.com/elROb.png"); }
65% { background: url("https://i.stack.imgur.com/elROb.png"); }
66% { background: url("https://i.stack.imgur.com/O0fGg.png"); }
100% { background: url("https://i.stack.imgur.com/O0fGg.png"); }
}
</style>
<img>
</html>