JSFiddle - React, Tailwind, and code Playground
HTML
<button class="button disabled">Click me!</button>
CSS
.button {
color: blue;
}
.button:not(.disabled):hover {
color: red;
}
<button class="button disabled">Click me!</button>
.button {
color: blue;
}
.button:not(.disabled):hover {
color: red;
}