JSFiddle - React, Tailwind, and code Playground

by parkji

HTML

<div id="test"></div>

CSS

#test {
  height: 200px;
  width: 200px;
  background: #FF0000;
  -webkit-transform: rotate(45deg);
  margin: 100px;
    -webkit-transition: all 0.5s ease-in;
}
#test:hover {
    -webkit-transform: rotate(0deg) scale(1.5);
}