Easy Tutorial
❮ Pr Background Repeat Css3 Pr All ❯

CSS3 :disabled Selector

Complete CSS Selector Reference

Example

Set the background color for all disabled input elements with type="text":


Definition and Usage

The :disabled selector matches every disabled element (mostly used on form elements).


Browser Support

The numbers in the table specify the first browser version that fully supports the property.

Selector
:disabled 4.0 9.0 3.5 3.2 9.6

More Examples

Example

Set the background color for all disabled input elements:


Complete CSS Selector Reference

❮ Pr Background Repeat Css3 Pr All ❯