JSFiddle - React, Tailwind, and code Playground

HTML

<div id="myID" style="width:50px; height:50px; background-color:red;">
Hello
</div>

JavaScript

$(document).ready(function(){
    $('#myID').animate({'width':'50%', 'height':'50%'});
});