input 标签添加上disable属性在移动端字体颜色不兼容的解决办法。 input颜色。。。。。

disabled 设置:

input:disabled, input[disabled]{
color: red;
-webkit-text-fill-color:red;
-webkit-opacity:1;
opacity: 1;
}

 

或者

input:disabled, input[disabled]{
color: red;
-webkit-text-fill-color:red;
-webkit-opacity:1;
opacity: 1;
}

 

posted @ 2017-11-21 18:32  Shimily  阅读(1283)  评论(0编辑  收藏  举报