JSFiddle - React, Tailwind, and code Playground

by Steven Senkus

HTML

<div id="target"></div>

CSS

#target {
    
    width: 20px;
    height: 20px;
    background-color: #000;
    border-radius: 200px;
     cursor: not-allowed;   
}

.curoff {
   cursor: none!important;
}

JavaScript

setInterval(function() {
    $('#target').toggleClass('curoff')
}, 10);