CSS :disabled Selector

❮ Previous Selectors Next ❯

Example

.example:disabled {
  height: 25px;
  width: 25px;
}

Meaning

The :disabled selector selects the elements that are currently disabled.

The element also has an enabled state, in which it can be activated or accept focus.

Version: CSS3




Standard Syntax

:disabled {
  css declarations;
}



Browser Support

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




Status







❮ Previous Selectors Next ❯