:read-only

Term side of the Card
Topic: Pseudo Classes
Unit title: :read-only
Categories: Pseudo-class
Explanation side of the Card

Explanation: The pseudo-class that selects form elements that cannot be edited by the user. It's applied to fields that are set to `readonly`, ensuring these fields are styled differently from those that can be modified.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 13
  • The firefox browser supports this feature starting from version 78
  • The safari browser supports this feature starting from version 4
Availability: