:out-of-range

Term side of the Card
Topic: Pseudo Classes
Unit title: :out-of-range
Categories: Pseudo-class
Explanation side of the Card

Explanation: The pseudo-class that applies styles to form input elements when their value is outside of a defined range. For example, it can be used to style inputs with values that are too high or too low, helping to indicate invalid input conditions.

Browser compatibility:
  • The chrome browser supports this feature starting from version 10
  • The edge browser supports this feature starting from version 13
  • The firefox browser supports this feature starting from version 29
  • The safari browser supports this feature starting from version 5.1
Availability: