JSFiddle - React, Tailwind, and code Playground

HTML

<div class="submit_changes" onclick="$(this).addClass('klik');"></div>

CSS

.submit_changes {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: sub;
  background: transparent url(http://tweakers.net/ext/f/NSU62gjQAIup6pkg6U7KyDTQ/full.png) no-repeat 0 0;
  cursor: pointer;
}

.submit_changes.klik 
{ 
  background: transparent url(http://tweakers.net/ext/f/ZKCHqTjEKCXlNCNTQadx2R37/full.gif) no-repeat 0 0;
}

.submit_changes:hover {
  background-position: -16px 0;
}