JSFiddle - React, Tailwind, and code Playground

by TheBuzzer

HTML

<div id="Test" style="background-color:blue;width:40px;height:40px"></div>

JavaScript

$('#Test').unbind('click').bind('click', function () {
    $('#Test').effect('shake', {
        direction: 'both',
        easing: 'easeOutBounce', 
        times: 4
    }, 300);
});