http://my.oschina.net/qii/blog/341439
在chrome下:
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button{
-webkit-appearance: none !important;
margin: 0;
}
Firefox下:
input[type="number"]{-moz-appearance:textfield;}
第二种方案:
将type="number"改为type="tel",同样是数字键盘,但是没有箭头。
原文链接:http://stackoverflow.com/questions/3790935/can-i-hide-the-html5-number-input-s-spin-box
HTML5去除input [type=search] 的默认边框和删除按钮
input [type=search] 是HTML新属性 , 定义用于搜索的文本字段;
x-webkit-speech 属性:在GOOGLE浏览器上 还会显示一个小话筒
autocomplete="off" 属性 关闭浏览器自动记录之前输入的值
webkit内核浏览器里 input 框类型如果是 type="search"
那么将会有边框问题,border:0px 也不能起到作用;
解决办法是在CSS里写上
input[type="search"]{-webkit-appearance:none;}
既可解决。
http://www.html-5.cn/WebApp/css/10243.html