JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div >d</div>
</body>
CSS
div {
background: #f00 !important;
}
div:hover {
background: #00f ;
}
<body>
<div >d</div>
</body>
div {
background: #f00 !important;
}
div:hover {
background: #00f ;
}