去掉谷歌浏览器下input框自动填充的背景色

/* 去掉input自动填充的黄色背景 */
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
background-color: #fff!important;
color: rgb(0, 0, 0);
-webkit-box-shadow: 0 0 0px 1000px white inset;
box-shadow: 0 0 0px 1000px white inset !important;
}

猜你喜欢

转载自www.cnblogs.com/yuner-angel/p/9110084.html