JSFiddle - React, Tailwind, and code Playground

HTML

<div></div>

CSS

div {
    border-radius: 10px;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    background: blue;
}

JavaScript

$('div').animate({
    left: 200
}, 999);
    
setTimeout(function () {
  
}, 0)