JSFiddle - React, Tailwind, and code Playground
HTML
<div class="drag" style="border: 2px solid red;background-color: blue; width: 200px; height: 200px;"></div>
JavaScript
$(".drag").draggable({helper:'clone'} );
$(".drag").css("-webkit-transform", "rotate(45deg)");