input在ios上会显示有内阴影以及边框等东西
解决方法:
input[type=“text”], input[type=“button”], input[type=“submit”], input[type=“reset”], select, textarea,button {
-webkit-appearance: none;
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 100px white inset;
}
对于小程序、uniapp想要改变placeholder的样式
uniapp设置input textarea等的placeholder样式的时候失效 解决方案
placeholder-class="test"
placeholder-style="color:red;"