JSFiddle - React, Tailwind, and code Playground

by Ranganadh Paramkusam

HTML

<div></div>

CSS

div { margin: 0px; width: 100px; height: 80px; background: green; border: 1px solid black; position: relative; }

JavaScript

$("div").click(function () {
      $(this).hide("slide", { direction: "right" }, 1000);
});