JSFiddle - React, Tailwind, and code Playground
HTML
<div>Bla</div>
CSS
div {
top: auto;
bottom:20px;
right:20px;
left:0px;
position:absolute;
}
JavaScript
$(function(){
var getCss = function($elem, prop) {
var wasVisible = $elem.css('display') !== 'none';
try {
return $elem.hide().css(prop);
} finally {
if (wasVisible) $elem.show();
}
};
alert(getCss($('div'), 'top'));
});