JSFiddle - React, Tailwind, and code Playground
by nukeboy212
HTML
<div id = 'sectionDiv'>
test
</div><script>
document.addEventListener('mousemove', function(){
console.log(document.getElementById("sectionDiv").matches(':hover'))
});
</script>