JSFiddle - React, Tailwind, and code Playground
HTML
<div></div>
CSS
div {
width: 100px;
height: 100px;
border: 1px solid #900;
}
JavaScript
$(
'div'
)
.animate(
{
height
:
500
},
5000,
function
()
{
$(
this
)
.css(
{
'background-color'
:
'#ff0'
}
);
}
);