您的位置: 首页 > 文章 > ios手机上为input[type="date"]设置样式兼容问题 已解决 ios手机上为input[type="date"]设置样式兼容问题 已解决 分类: 文章 • 2024-10-28 15:35:04 在移动网页上需要有一个时间控件,我用了HTML5的input[type=“date”],这个控件在按Android和ios上的实现都是可以的,但是样式有点丑,特别是ios上,于是我加了一段css: input{ background:none; outline:none; appearance:none; -moz-appearance:none; -webkit-appearance:none; }, 小程序中查看