表单输入更改为白色背景 - iphone 6
Form input change to white background - iphone 6
我有一个表格。当我在 iphone 6 中键入第一个字符时,所有表单和输入都变为白色背景(字体颜色也为白色),我无法对其进行任何操作。当删除输入中的所有字符时。表格更改为正常。它适用于 firefox、chrome、safari 和 android 除了 iphone。任何人都可以帮助我。非常感谢!
更新表格 css:
background-color: #f2f2f2;
padding: 10px 10px 10px;
border-radius: 5px;
margin-left: auto;
margin-right: auto;
max-width: 550px;
box-shadow: 0px 0px 20px 0px rgba(217,217,217,1);
我只是尝试 background: transparent; background: none; all: revert !important;
输入但对我没有任何作用。
修复这个错误。
input {
position: relative;
z-index: 10;
display: block;
}
我有一个表格。当我在 iphone 6 中键入第一个字符时,所有表单和输入都变为白色背景(字体颜色也为白色),我无法对其进行任何操作。当删除输入中的所有字符时。表格更改为正常。它适用于 firefox、chrome、safari 和 android 除了 iphone。任何人都可以帮助我。非常感谢!
更新表格 css:
background-color: #f2f2f2;
padding: 10px 10px 10px;
border-radius: 5px;
margin-left: auto;
margin-right: auto;
max-width: 550px;
box-shadow: 0px 0px 20px 0px rgba(217,217,217,1);
我只是尝试 background: transparent; background: none; all: revert !important;
输入但对我没有任何作用。
修复这个错误。
input {
position: relative;
z-index: 10;
display: block;
}