Skip to content

Instantly share code, notes, and snippets.

@hakeempazhu
Created August 23, 2017 07:26
Show Gist options
  • Save hakeempazhu/e23b5bf6ff7dc91cc02d14bbfdcd45a4 to your computer and use it in GitHub Desktop.
Save hakeempazhu/e23b5bf6ff7dc91cc02d14bbfdcd45a4 to your computer and use it in GitHub Desktop.
Text Box Text Type Number with No cursor or arrow using style css HTML
<html>
<head>
<style>
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type=number] {
-moz-appearance:textfield;
}
</style>
</head>
<body>
<input type="number"/>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment