JSFiddle - React, Tailwind, and code Playground
HTML
<div class="outer">
Your Content
</div>
<button>Hover me</button>
CSS
.outer {
width: 100px;
height: 100px;
background-color: blue;
}
JavaScript
$(document).ready(function(){
$("button").hover(function(){$(".outer").css("background-color", "lightblue");}, function(){$(".outer").css("background-color", "blue");} );
});