JSFiddle - React, Tailwind, and code Playground

HTML

<div>
  <img src="https://hsto.org/webt/5c/5f/54/5c5f543421cfd629515965.png" alt>
</div>

CSS

body {
  margin: 0;
}

div {
  display: inline-flex;
  position: relative;
  overflow: hidden;
}

div:before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  transform: scale(1.2) skew(10deg, 0deg);
  transition: transform 3s;
  background: rgba(0,55,255,0.75);
}

div:hover:before {
  transform: scale(1.2) translate(-100%, 0px) skew(10deg, 0deg);
}