JSFiddle - React, Tailwind, and code Playground

by rwaldron

HTML

<div id="myDiv" style="-moz-transform: rotate(10deg); -webkit-transform: rotate(10deg); width: 200px; height: 20px; background-color: red; position: absolute; top: 50px; left: 50px;">hi</div>

JavaScript

//$('#myDiv').css('left', '0px');

document.querySelector("#myDiv").style.left = "10px";