JSFiddle - React, Tailwind, and code Playground

HTML

<div></div>

CSS

div{
    display:block;
    background:red;
    height:100px;
    width:100px;
    -webkit-transition: width 0.3s, height 0.6s;
       -moz-transition: width 0.3s, height 0.6s;
            transition: width 0.3s, height 0.6s;
}
div:hover{
    height:200px;
    width:200px;
}