JSFiddle - React, Tailwind, and code Playground
HTML
<div>
test
</div>
CSS
div {
background: grey;
width: 20px;
}
div:hover {
width: 200px;
}
JavaScript
setTimeout(function(){$("div").hover()}, 1000)
<div>
test
</div>
div {
background: grey;
width: 20px;
}
div:hover {
width: 200px;
}
setTimeout(function(){$("div").hover()}, 1000)