JSFiddle - React, Tailwind, and code Playground

by karin

HTML

<p class="out">P</p>

CSS

p{
    background:red;
    width:50px;
}

JavaScript

$( document ).click(function() {
  $( ".out" ).effect( "shake" );
});

$('.out').mouseenter(function () {
    jQuery(this).effect("bounce", {
        times: 3
    }, 500);
});