<html>
<head>
<style>
input:out-of-range {
border: 2px solid red;
}
</style>
</head>
<body>
<h1>Demo of the :out-of-range selector</h1>
<input type="number" min="5" max="10" value="17">
<p>Try typing a number within the given range (between 5 and 10), to see the styling disappear.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.php?filename=trycss_sel_out-of-range by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:38:45 GMT -->
</html>