JSFiddle - React, Tailwind, and code Playground

by mofle

HTML

<div id="test" style="bottom:50%"></div>

CSS

#test {
 position: absolute;
 width: 100px;
height: 20px;
 background: grey;   
}

JavaScript

console.log('jq css bottom: ' + $('#test').css('bottom') );
console.log('js css bottom: ' + $('#test')[0].style.bottom );