Created
February 11, 2020 05:26
-
-
Save evdeveloper/61deb36d363c500d2784483ff838f640 to your computer and use it in GitHub Desktop.
Убрать стрелки у input type="number"
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
// У Google | |
input[type="number"]::-webkit-outer-spin-button, | |
input[type="number"]::-webkit-inner-spin-button { | |
-webkit-appearance: none; | |
margin: 0; | |
} | |
// У Mozilla | |
input[type="number"] { | |
-moz-appearance: textfield; | |
} | |
input[type="number"]:hover, | |
input[type="number"]:focus { | |
-moz-appearance: number-input; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment