ios and android mobile terminal input input box disabled style inconsistency problem

ios and android mobile terminal input input box disabled style inconsistency problem

The main reason: ios will set the transparency when the input box is disabled

The solution is as follows

input:disabled {
    
    
  -webkit-text-fill-color: #909399;//填充字体颜色 这个生效的时候 设置的color就不生效
  opacity: 1 ;//设置透明度
  background-color: transparent ;//去掉安卓背景色
}

Guess you like

Origin blog.csdn.net/qq_39367226/article/details/109738241