 
  Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Style <input> elements with a value within a specified range with CSS
To style <input> elements with a value within a specified range, use the CSS :in-range selector. You can try to run the following code to implement the :in-range selector
Example
<!DOCTYPE html> <html>    <head>       <style>          input:in-range {             border: 3px dashed orange;             background: yellow;          }       </style>    </head>    <body>       <input type = "number" min = "5" max = "10" value = "9">       <p>The style only works for the value entered i.e. 9</p>    </body> </html>Advertisements
 