之前做移动端,发现在苹果手机上input显示有问题。input的border已经初始化设置为none了。后面根据需求进行了border样式的重置。
但在苹果手机上渲染有问题。如下图所示:

input 上边框阴影(苹果手机)

解决方案:

input{
  appearance:button;
  -moz-appearance:button; /* Firefox */
  -webkit-appearance:button; /* Safari 和 Chrome */
}
结果:
input 上边框阴影(苹果手机)

 

相关文章:

  • 2022-12-23
  • 2021-06-05
  • 2021-12-26
  • 2022-12-23
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2021-05-01
  • 2022-12-23
  • 2022-01-07
  • 2021-12-14
  • 2022-02-27
  • 2022-12-23
相关资源
相似解决方案