Complete CSS Selector Reference
Set a background color for all disabled input elements of type="text":
The :disabled selector matches every disabled element (mostly used on form elements).
![]()
The :disabled selector is supported in all major browsers, except IE8 and earlier.
Set a background color for all disabled input elements:
Complete CSS Selector Reference
Your message has been sent to W3Schools.