JSFiddle - React, Tailwind, and code Playground
by kiokotzu
HTML
<div class="mover">
esteban
</div>
CSS
div{
width:100px;
height:100px;
background:#ccc;
margin-top:30px;
}
JavaScript
$(document).ready(function() {
$('.mover').click(function() {
$(".mover").effect( "shake", {times:3, distance:2}, 40 );
});
});