JSFiddle - React, Tailwind, and code Playground

by Corey Frang

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/ui-lightness/jquery-ui.css">
<div id="myDiv"></div>

CSS

#myDiv { width:200px; height: 200px; margin:0 auto; background: blue}

JavaScript

$('#myDiv').show('clip',{direction:'horizontal'},500);