JSFiddle - React, Tailwind, and code Playground
HTML
<div>
<aside></aside>
</div>
CSS
div {
position: relative;
width: 200px;
height: 200px;
padding-left: 0px;
}
aside{
position: relative;
width: 100px;
height: 100px;
left: 50px;
}
JavaScript
console.log( $("aside").position().left );
console.log( $("aside").css("left") );