JSFiddle - React, Tailwind, and code Playground
HTML
<input type="text" value="hello" disabled="disabled">
JavaScript
$('input:disabled').css('background-color', 'blue');
<input type="text" value="hello" disabled="disabled">
$('input:disabled').css('background-color', 'blue');