CSS3 :disabled Selector

Last Updated Jul 21, 2015, 12:00:06 PM





CSS :disabled Selector

The CSS :disabled selector matches every disabled HTMLelement

Syntax Example

The below example sets a background color for all disabled input elements of type="text":


Watch GIF Try It Now

CSS Before Selector

CSS Selectors Reference

CSS Selectors Reference

Other CSS Selectors you might want to learn

CSS Basic Selectors

CSS Combinators



Sources and Credits

The source of the content has been referred and updated with Mozilla Foundation and W3C Organization

Last Updated Jul 21, 2015, 12:00:06 PM