JSFiddle - React, Tailwind, and code Playground

by revathskumar

HTML

<div class="sample-rotate"></div>

CSS

.sample-rotate{
   background:url(http://images2.wikia.nocookie.net/__cb20101129042828/uncyclopedia/images/b/b2/Plus_sign.png);
    background-size:100%;
   width: 200px;
   height:200px;
}
.sample-rotate:hover{
  -webkit-transform :rotate(45deg);
}