JSFiddle - React, Tailwind, and code Playground

by jackdent

HTML

<div id="bounce"></div>

CSS

#bounce {
    height: 100px;
    width: 100px;
    background-color: red;
}

JavaScript

$("#bounce").click(function() {
    $(this).effect("bounce", {
        times: 3
    }, 300);
});