JSFiddle - React, Tailwind, and code Playground

HTML

<div id="tank"></div>

CSS

#tank{
    width:344px; 
    height:300px;
 background-image:url('http://www.placehold.it/200');
 box-shadow:0px 0px 100px;
 border-radius:20px; 
    position:relative; 
    left:-180px; 
    top:10px;
}

JavaScript

$("#tank").hover(
  function () {
    $(this).animate({
        left: '+=180'
    });
  }, 
  function () {
    $(this).animate({
        left: '-=180'
    });
  }
);