type =number 在火狐下面的样式问题
input[type="number"] {
-moz-appearance: textfield;
}
谷歌同理
- -webkit-appearance: textfield;
本文探讨了在Firefox和Chrome浏览器中input[type=number]的样式问题,提供了跨浏览器一致显示的解决方案,通过使用-moz-appearance和-webkit-appearance属性,确保数字输入框在不同浏览器下呈现相同外观。
type =number 在火狐下面的样式问题
input[type="number"] {
-moz-appearance: textfield;
}
谷歌同理
972

被折叠的 条评论
为什么被折叠?
