1
2
3
4
5
6
7
8
9
10
11
<input type="number" ...>

<style>
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"]{
-moz-appearance: textfield;
}
</style>

转载请保持原始链接

原始链接: https://ru23.com/note/1c69a5f4.html