JSFiddle - React, Tailwind, and code Playground

by Андрей Хамедов

HTML

<button>Ok</button>
<button disabled="disabled">Ok</button>

CSS

button:enabled:active {
    color: red
}

button:active:disabled {
    color: green;
}