JSFiddle - React, Tailwind, and code Playground
HTML
<div class="block"></div>
CSS
div {
position:absolute;
background-color:#abc;
left:50px;
width:90px;
height:90px;
margin:5px;
}
JavaScript
$("#right").ready(function(){
$(".block").animate({left:"150px"}, "slow");
$(".block").animate({top:"150px"}, "slow");
$(".block").animate({right:"150px"},"slow");
$(".block").animate({bottom:"150px"}, "slow");
});