Last active
August 22, 2022 20:33
-
-
Save ricardov03/fdea62db87280cdc4c7093b8fb9eea3b to your computer and use it in GitHub Desktop.
Hiding field arrows in HTML5 Number form fields.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Chrome, Safari, Edge, Opera */ | |
| input::-webkit-outer-spin-button, | |
| input::-webkit-inner-spin-button { | |
| -webkit-appearance: none; | |
| margin: 0; | |
| } | |
| /* Firefox */ | |
| input[type=number] { | |
| -moz-appearance: textfield; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment