JSFiddle - React, Tailwind, and code Playground
HTML
<div id = "footer">
</div>
CSS
#footer {
height: 100px;
background-color: grey;
}
JavaScript
var altura = 100;
$("#footer").css("top", altura + "px");
<div id = "footer">
</div>
#footer {
height: 100px;
background-color: grey;
}
var altura = 100;
$("#footer").css("top", altura + "px");