JSFiddle - React, Tailwind, and code Playground

HTML

<b>BODY</b>
<div class="container"><b>container</b><br>
    <div class="targetClass"><b>targetClass</b></div>
    <b><a href="#">a link</a></b>
</div>
 <b><a href="#">a link</a></b>

CSS

body{color:white;text-align:center;background:green;}

.container{
    background:#333;
    width:400px;
    height:300px;
    margin:0 auto;
    position:relative;
}
.targetClass{
    background:#733;
    width:200px;
    height:100px;
    margin:100px;        
    position:absolute;
}
a{
    color:orange;
}
}

JavaScript

$(".targetClass").click(function () {
            $('#loaderImage').show();
            //this is the line i add
            $('*').css('cursor','wait');                
        });