JSFiddle - React, Tailwind, and code Playground

HTML

<div id="myDiv" style="width:100px;height:100px;transform:rotate(30deg)">
    //Some Content
    </div>

JavaScript

$("#myDiv").click(function(){
    $(this).css("transform","");//used rotate to see the effect
});