html5 input type number 去掉加减号
2015-09-09 01:06
525 查看
原文链接:https://www.geek-share.com/detail/2652731960.html
在chrome下:
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
-webkit-appearance: none !important;
margin: 0;
}
Firefox下:
input[type="number"]{-moz-appearance:textfield;}
转载于:https://www.cnblogs.com/anyaran/p/4793463.html
相关文章推荐
- html5 input type number 去掉加减号
- 移除HTML5 input在type="number"时的上下小箭头
- 移除HTML5 input在type="number"时的上下小箭头
- input[type='number']中去掉右边上下箭头,并禁用滚动加减
- 去掉 input type="number" 右边图标
- css 去掉 input[type="number"] 上下箭头
- input中 type=number 的文本框(数字框) 去掉箭头 且不能输入e和标点符号
- html5的Input Type : Number,分享自己的一些认识!
- 移除HTML5 input在type="number"时的上下小箭头
- HTML5 input type=number时的BUG
- 【转】移除HTML5 input在type="number"时的上下小箭头
- HTML5 input type=“number”的maxlength设置没效果问题
- input输入框设置type=number时,去掉后面的上下按钮
- 移除HTML5 input在type="number"时的上下小箭头
- 去掉input type=number时默认控件的方法
- 【转】移除HTML5 input在type="number"时的上下小箭头
- 移除HTML5 input在type="number"时的上下小箭头
- input的type为 number 时去掉上下箭头
- 移除HTML5 input在type="number"时的上下小箭头
- 制作简单的计算器,用到HTML5中的type=number这个input属性