JSFiddle - React, Tailwind, and code Playground
HTML
<div class="box"></div>
CSS
.box {
background: #151515;
height: 100px;
width: 100px;
}
.box:hover {
background: #e6e6e6;
height: 100px;
width: 100px;
}
<div class="box"></div>
.box {
background: #151515;
height: 100px;
width: 100px;
}
.box:hover {
background: #e6e6e6;
height: 100px;
width: 100px;
}