JSFiddle - React, Tailwind, and code Playground
HTML
<div style="width: 0%;">DIV</div>
CSS
div{
background:#EEE;
height:30px;
}
JavaScript
$('div').css('width', '100%');
setTimeout(function(){
$('div').css('color','red');
}, 2000);