Safari和Chrome浏览器上的箭头未显示输入类型=数字

时间:2019-09-10 17:16:19

标签: css google-chrome safari responsive

我不知道为什么,但是输入类型=数字上的箭头没有显示在Chrome和Safari的移动分辨率上。 Mozila正常工作。

我已经尝试使用以下代码对其进行修复,但是它不起作用:

input [type =“ number”] ::-webkit-inner-spin-button,input [type =“ number”] ::-webkit-outer-spin-button {height:auto;}

input [type = number] ::-webkit-inner-spin-button,input [type = number] ::-webkit-outer-spin-button {opacity:1;}

这是结果: http://prntscr.com/p4da46 这是应该的样子: http://prntscr.com/p4dak6

0 个答案:

没有答案
相关问题