CSS :disabled Selector

❮ Previous Selectors Next ❯


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


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.


❮ Previous Selectors Next ❯