Skip to content

Instantly share code, notes, and snippets.

@1FahadShakeel
Created August 22, 2022 06:28
Show Gist options
  • Save 1FahadShakeel/08387b79ba5cbbb2878fc580cd98fd46 to your computer and use it in GitHub Desktop.
Save 1FahadShakeel/08387b79ba5cbbb2878fc580cd98fd46 to your computer and use it in GitHub Desktop.
hide arrows from input type number
/* 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