JSFiddle - React, Tailwind, and code Playground
HTML
<div id='test'></div>
CSS
#test{ width:100px; height:100px; background:red; position:absolute;left:10px;bottom:-100px;
transition:all 2000ms ease-in-out;
}
JavaScript
//use JS , i use jquery..
$('#test').css({'bottom':'300px'});