Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Chrome input type=“number” CSS styling
To style input type = number, use the following CSS −
input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
}
The above shows without a spinner.
To show and style a spinner, use
input[type=number]::-webkit-inner-spin-button {
opacity: 1;
}
Output
The above shows the following output −

Advertisements
