CSS 3 Module <== Test # ==>
W3C Selectors 29 of 276 of the static tests category
Testing Date Revision
:disabled pseudo-class (ID #24) 2004-03-03 1.1



button { background-color : red }
input { background-color : red }
button:disabled { background-color : lime }
input:disabled { background-color : lime }
<p>
 <button disabled="disabled">A button (disabled) with green background</button>
 <br></br>
 <input disabled="disabled" type="text" size="36" value="a text area (disabled) with green background"></input>
</p>