JSFiddle - React, Tailwind, and code Playground

by thecodeparadox

HTML

<div id="test">
    <span class="bordered">&nbsp;</span>
</div>

CSS

#test{
    background-color:red;
    height: 30px;
    width: 200px;  
    position: relative;        
}
.bordered {
    width: 2px;
    background: blue;
    height: 30px;
    position: absolute;
}

JavaScript

$(document).ready(function(){
  $('span.bordered').css('left', '100px');
});