相关疑难解决方法(0)

是否可以始终显示输入"数字"的向上/向下箭头?

我想总是显示输入"数字"字段的向上/向下箭头.这可能吗?到目前为止,我没有运气...

http://jsfiddle.net/oneeezy/qunbnL6u/

HTML:

<input type="number" />
Run Code Online (Sandbox Code Playgroud)

CSS:

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  

   -webkit-appearance: "Always Show Up/Down Arrows";

}
Run Code Online (Sandbox Code Playgroud)

html5 webkit input css3 shadow-dom

55
推荐指数
2
解决办法
6万
查看次数

标签 统计

css3 ×1

html5 ×1

input ×1

shadow-dom ×1

webkit ×1