JSFiddle - React, Tailwind, and code Playground
by jefffabiny
HTML
<div class="yo">Testing <span></span></div>
CSS
.yo {
position:absolute;
top:0;
left:0;
background:#def094;
border:1px solid red;
}
JavaScript
$('.yo').animate({height:150}, 1000)
.animate({height:100}, 1000);
var n = $('.yo').queue("fx");
$("span").text( n.length );