JSFiddle - React, Tailwind, and code Playground
HTML
<div id="theImage" class="boxes">
</div>
CSS
body{
background-color:#63228D;
/* cursor:none; */
}
#theImage{
position:absolute;
left:0;
border:1px solid black;
background-color: black;
height:50px;
width:50px;
/* border-radius: 100%; */
}
JavaScript
jQuery(document).on("mousemove", function(event) {
jQuery('#theImage').css({left: event.pageX, top: event.pageY});
});