以下代码仅在 webkit内核浏览器生效
1 2 3 4 5 6 7 |
input[disabled], textarea[disabled], select[disabled='disabled']{ -webkit-text-fill-color: rgba(0, 0, 0, 1); -webkit-opacity: 1; color: rgba(0, 0, 0, 1); background: white; } |
转载请注明:飞飞的个人网站 » ios(iphone)设置input,select的disabled字体颜色无效的解决方法