.gif {
  image-animation: paused;
  display: block;
  background: #eee;
}

.gif:hover {
  image-animation: running;
}