JSFiddle - React, Tailwind, and code Playground
HTML
<div id="div1"></div>
<br/>
<br/>
<div id="div2"></div>
CSS
#div1 {
height : 20px;
width: 20px;
color: black;
border: 1px solid;
}
#div2 {
height : 30px;
width: 30px;
color: black;
border: 1px solid;
cursor:pointer;
}
JavaScript
/* show cursor as hand on hover*/