JSFiddle - React, Tailwind, and code Playground
by ashfame
HTML
<div id="a"> </div>
<div id="b"> </div>
CSS
#a,#b{
width:200px;
float:left;
height:100px;
}
#a {
background-color:#c0c0c0;
}
#b {
background-color:#e0e0e0;
}
JavaScript
$(document).ready(function() {
$("#a").click(function() {
$('#b').effect("highlight", {}, 3000);
});
});