JSFiddle - React, Tailwind, and code Playground
HTML
<div id="boton">Hello</div>
CSS
#boton {
width:200px;
height:30px;
border:1px solid;
background-color:#cccccc; }
#boton.botoncla {
background-color:#FF0000;
}
JavaScript
$("#boton").hover(function(){
$(this).addClass("botoncla", 1000);
}, function(){
$(this).removeClass("botoncla", 1000);
});