修改谷歌密码填充后的背景色
input {
background-color: #fff !important;
}
/* 核心代码 */
input:-webkit-autofill {
transition: background-color 5000s ease-in-out 0s;
}
input:-webkit-autofill:focus {
/* 鼠标获取焦点时文本的字体颜色 */
-webkit-text-fill-color: #fff !important;
}
/* 貌似要直接命中元素,使用deep选中好像不行。个人见解。 */

浙公网安备 33010602011771号