JSFiddle - React, Tailwind, and code Playground
by trkli
HTML
<div class="el"></div>
CSS
.el {
position: fixed;
top: 0;
left: 0;
width: 100px;
height: 100px;
transition: all 0.25s ease-in;
background-color: red;
}
JavaScript
$(".el").click(function() {
$(this).css("left","100px");
});