JSFiddle - React, Tailwind, and code Playground
HTML
<div id="divus">Div Transition Effect</div>
CSS
#divus{
width:200px;
height:200px;
border:1px soild #eaeaea;
background:#eaeaea;
line-height:200px;
margin-left:auto;
margin-right:auto;
margin-top:50px;
font-size:20px;
}
#divus:hover{
background:gray;
background: grey;
color: white;
box-shadow: 0 0 10px #312078;
-moz-transition: all 1.5s;
transition: all 1s cubic-bezier(.09, .11, .24, .91 );
}