解决前端input在安卓和ISO中 的兼容性问题。

1.安卓的
input中的兼容性问题

2.iOS的
input中的兼容性问题
因为我的手机时安卓的,测试的时候安卓是没有问题的,但是iOS就出现了以上的情况,一开始以为是样式的问题,后面设置看也不行,试了一下的方法就可以了。

//在input标签中添加这两个属性,就可以了。
box-shadow:0px 0px 0px rgba(0,0,0,0); 
-webkit-appearance:none;
#organizationMain input {
            width: 100%;
            height: 50px;
            margin-top: 22px;
            border-radius: 4px;
            padding-left: 17px;
            font-size: 16px;
            color: #333333;
            border: 1px solid #CCCCCC;
            box-shadow:0px 0px 0px rgba(0,0,0,0);
            -webkit-appearance:none;
        }

相关文章:

  • 2021-10-09
  • 2021-12-20
  • 2021-10-14
  • 2021-12-02
  • 2021-07-06
  • 2022-01-29
  • 2021-05-22
  • 2021-06-15
猜你喜欢
  • 2022-02-07
  • 2021-10-23
  • 2021-12-23
  • 2021-06-01
  • 2021-04-10
相关资源
相似解决方案