CSS3 :in-range selector example
suggest change<style>
input:in-range {
border: 1px solid blue;
}
</style>
<input type="number" min="10" max="20" value="15">
<p>The border for this value will be blue</p>
The :in-range pseudo-class matches when an element’s current value is inside the limits set by its min and max. It lets the page show that the value is inside that range. An empty value, or a control with no range, does not match.
https://developer.mozilla.org/en-US/docs/Web/CSS/:in-range
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents