JSFiddle - React, Tailwind, and code Playground
HTML
<div id="box"></div>
<button>Уронить объект</button>
<!-- пример из сайта know-online.com -->
CSS
body, html { height:100% }
#box {
background:navy;
height:100px;
width:100px;
position:absolute;
left:5px;
top:30px;
}
JavaScript
$("button").click(function(){
var height = $("html").height();
$("#box").animate({
top: [(height - $("#box").height()), "easeOutBounce"]
}, 1000);
});