CSS :in-range pseudo selector
Milap Patel
Technical Manager | Node.js | React | JavaScript | AWS Certified Cloud Practitioner | PHP | WordPress | Front-end | MongoDB | MySQL
The :in-range pseudo selector in CSS matches input elements when their value is within the range specified as being acceptable.
It is part of the CSS Selectors Level 4 specification which is currently in Editor’s Draft status.
it’s only relevant on input[type=number], range inputs don’t allow values outside their min/max and it doesn’t make much sense on any other type of input.