:disabled
Term side of the Card
Topic: Pseudo Classes
Unit title: :disabled
Categories: Pseudo-class
Explanation side of the Card
Explanation: The pseudo-class that targets form elements that are disabled, preventing user interaction. It's commonly used to style input fields, buttons or other controls that are temporarily or permanently inactive, often graying them out or reducing their opacity.
Browser compatibility:
- The chrome browser supports this feature starting from version 1
- The edge browser supports this feature starting from version 12
- The firefox browser supports this feature starting from version 1
- The safari browser supports this feature starting from version 3.1
Availability: