[HTML] css3 输入框input类型为number时,去掉上下箭头方式

<input type="number" ...>

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

猜你喜欢

转载自www.cnblogs.com/frost-yen/p/9225901.html