JSFiddle - React, Tailwind, and code Playground

by darcyclarke

HTML

<div>Some Text</div>

CSS

div {
    width: 50px;
  height: 50px;
   display: block;
   background: red; 
}

JavaScript

$("div").bind("click", function(e){
    $(this).animate({"height":"300px","width":"300px"}, 1000); 
});