Out of Range
About
The :out-of-range
pseudo-class matches elements whose value is out of a range specified by the min
and max
attributes.
Number Input
The value of a number input is out of range it's less than min
or greater than max
value. An empty value is not considered out of range.
- Enter a value that is out of range
Date Input
The value of a date input must be earlier than the specified min
and later than the specified max
date to be out of range. An empty value is not considered out of range. The example shows a date picker that only allows today and tomorrow.
- Enter a date that is out of range