Created
March 15, 2024 02:22
-
-
Save devstar0209/f32ebad9fdce013c68db7237f96bdf03 to your computer and use it in GitHub Desktop.
Hide spin in number input
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
/* 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