在chrome下:web
input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{ -webkit-appearance: none !important; margin: 0; }chrome
Firefox下:app
input[type="number"]{-moz-appearance:textfield;}input