Easy Tutorial
❮ Css3 Pr Target New Pr Dim Min Height ❯

CSS :out-of-range Selector

Complete CSS Selectors Reference

Example

Set specified styles when the input value is outside the specified range:


Definition and Usage

The :out-of-range selector is used to style elements whose value is outside the specified range.

Note: The :out-of-range selector only applies to elements that can have values outside the specified range, such as the min and max attributes in input elements.


Browser Support

The numbers in the table represent the first browser version that supports this property.

Selector
:out-of-range 10.0 Not supported 28.0 5.2 11.0

CSS Syntax


Related Pages

CSS Selector :in-range


Complete CSS Selectors Reference

❮ Css3 Pr Target New Pr Dim Min Height ❯