JSFiddle - React, Tailwind, and code Playground
HTML
<div id="t" onClick="g()"></div>
CSS
#t
{
background-color:#009900;
width:150px;
height:40px;
}
JavaScript
function g()
{
$("#t").hide();
$("#t").show("fade", {}, { duration:1200, queue: false});
$("#t").effect("bounce", { times:3 }, { duration:400, queue: false});
}