Created
September 16, 2021 11:48
-
-
Save sonichandni/dbaa38ecfa6fea4093339a2b9554b559 to your computer and use it in GitHub Desktop.
Remove up-down arrow from input number fields
This file contains 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
/*Remove up down arroww from number field start*/ | |
/* Chrome, Safari, Edge, Opera */ | |
input[type="number"]::-webkit-outer-spin-button, | |
input[type="number"]::-webkit-inner-spin-button { | |
-webkit-appearance: none !important; | |
-moz-appearance: none !important; | |
appearance: none !important; | |
margin: 0 !important; | |
} | |
/* Firefox */ | |
input[type="number"] { | |
-moz-appearance: textfield; | |
} | |
/*Remove up down arroww from number field end*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment