JSFiddle - React, Tailwind, and code Playground

HTML

<div id="outer">
    <div id="inner">
    </div>
</div>

CSS

#outer {
    background-color: red;
    height: 400px;
    position: relative;
    width: 600px;
}

#inner {
    background-color: yellow;
    bottom: 100px;
    left: 100px;
    height: 150px;
    position: absolute;
    width: 300px;    
}

JavaScript

$(document).ready(function () {
    window.setTimeout(function () {
    $('#inner').css('bottom', -50); 
    }, 2000);
});