JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
<p>Click anywhere to apply the effect.</p>
<div></div>
CSS
div {
width: 100px;
height: 100px;
background: #ccc;
border: 1px solid #000;
position: absolute;
top: 30px;
left: 0;
}
JavaScript
$( document ).click(function() {
$( "div" ).animate({ top: 400 }, { duration: 2000, easing: 'easeOutBounce' });
});