JSFiddle - React, Tailwind, and code Playground
by s4ty
HTML
<div id="insel"></div>
CSS
#insel{ width:100px; height: 100px; position: absolute; background-color: black; }
JavaScript
$(document).ready(function() {
$("#insel")
.delay(1000)
.animate({
bottom: 0
}, {
duration: 2000,
easing: 'easeOutBounce',
complete: function (){
$('html, body').css('overflow', 'auto');
}
});
;
});