JSFiddle - React, Tailwind, and code Playground

HTML

<div class="regular">
</div>
<div class="positioned">
</div>
<div class="regular">
</div>

CSS

div {
    width: 100px;
    height: 100px;
    opacity: 0.7;
    background-color: #f00;
    border: 1px solid #000;
}
div.positioned {
    position: absolute;
    background-color: green;
    width: 90px;
    height: 90px;
}