JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div id="line-three">Move</div>
</body>
CSS
body {height: 600px; background-color: #999}
#line-three {
position:absolute;
width:100%;
left:0px;
top:113px;
}
JavaScript
$(document).ready(function(){
var bodyHeight = $('body').height();
var footerOffsetTop = $('#line-three').offset().top;
var topToBottom = bodyHeight -footerOffsetTop;
$('#line-three').css({top:'auto',bottom:topToBottom});
$("#line-three").delay(100).animate({
bottom: '100px',
}, 1200);
})