JSFiddle - React, Tailwind, and code Playground
HTML
<span>Teste</span>
<p>Teste</p>
<strong>Teste</strong>
CSS
strong {
position: absolute;
left: 10px;
}
JavaScript
var span = document.querySelector("span");
var p = document.querySelector("p");
var strong = document.querySelector("strong");
span.style.position = "absolute";
span.style.left = "10px";
alert(span.style.left);
p.style.position = "absolute";
p.style.left = "10em";
alert(p.style.left);
alert(strong.style.left);