JSFiddle - React, Tailwind, and code Playground

by mhcgolds

HTML

<div id="div1"></div>
<div id="div2"></div>

CSS

div {
    width: 100px;
    background-color: #000;
    margin: 5px;
}

JavaScript

$('#div1').animate({height:'100px'},{queue:false,duration:100});
$('#div2').animate({ height: '100px' }, { queue: false, duration: 100 });