JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
</div><!-- end container -->
CSS
.container {
transition-property:rotate;
transition-duration: .17s, .17s translate3d(0,0,0);
transition-timing-function: linear;
-webkit-transition-property:rotate;
-webkit-transition-duration: .17s, .17s translate3d(0,0,0);
-webkit-transition-timing-function: linear;
-moz-transition-property:rotate;
-moz-transition-duration: .17s, .17s translate3d(0,0,0);
-moz-transition-timing-function: linear;
}
.container {
background-color: #000;
height:170px;
width:170px;
margin:20px;
}
.container:hover {
-webkit-transform: rotate(-3deg);
-moz-transform: rotate(-3deg);
}