JSFiddle - React, Tailwind, and code Playground

by heaven_xz

HTML

<div>
11111111111111111
</div>
<div>
222222222222222222
</div>

CSS

div {
  width: 100px;
  height: 100px;
}

div:first-child {
  margin-bottom: 100px;
}

div:first-child:hover {
  transform: scale(1.4);
  transition: all .3s;
  background-color: red;
}