JSFiddle - React, Tailwind, and code Playground

by jonsuh

HTML

<input type="text" value="test" disabled />

CSS

input[type="text"][disabled],
input[type="text"]:disabled {
    color: #ff0;
    background-color: #f00;
}