Hide Spinner in Input Number - Firefox 29

后端 未结 7 724
傲寒
傲寒 2020-12-02 04:22

On Firefox 28, I\'m using works great because it brings up the numerical keyboard on input fields which should only contain number

7条回答
  •  误落风尘
    2020-12-02 05:05

    This worked for me:

        input[type='number'] {
        appearance: none;
    }
    

    Solved in Firefox, Safari, Chrome. Also, -moz-appearance: textfield; is not supported anymore (https://developer.mozilla.org/en-US/docs/Web/CSS/appearance)

提交回复
热议问题