<html>
<head>
<style>
input:in-range {
border: 2px solid yellow;
}
</style>
</head>
<body>
<h3>A demonstration of the :in-range selector.</h3>
<input type="number" min="5" max="10" value="7">
<p>Try typing a number out of range (less than 5 or higher than 10), to see the styling disappear.</p>
</body>
<!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_sel_in-range by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:11:41 GMT -->
</html>