HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
Select and style only if the value of the <input> element is "out of range"
The :out-of-range
selector selects all elements with a value that is outside a specified range.
Version: | CSS3 |
---|
The numbers in the table specifies the first browser version that fully supports the selector.
Selector | |||||
---|---|---|---|---|---|
:out-of-range | 53.0 | 13.0* | 50.0 | 10.1 | 40.0 |
*In Edge, the :out-of-range property also incorrectly selects input elements without min/max attributes.
CSS Selector :in-range