:in-range

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

Explanation: The pseudo-class that selects input elements whose values fall within a specified range, as defined by the `min` and `max` attributes. It's typically used with forms to apply styles when the user's input is valid and within acceptable limits.

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: