.sprite-container {
  width: 50px;  /* Width of one single frame */
  height: 50px; /* Height of one single frame */
  background-image: url('2x-offline.png.png');
  background-repeat: no-repeat;
  animation: play 1s steps(4) infinite; /* 4 frames, 1 second total */
}

@keyframes play {
  from { background-position: 0px; }
  to { background-position: -200px; } /* Total width of all frames (50px * 4) */
}