谷歌浏览器在记住密码之后然后输入框的颜色会改变
在main.js引入的css文件中写入
/*解决浏览器输入框在记住密码后改变颜色问题*/
input:-webkit-autofill {
/* 自动填充文字颜色 */
-webkit-text-fill-color: #ffe1b9 !important;
transition: background-color 5000s ease-in-out 0s;
}
然后的效果
谷歌浏览器在记住密码之后然后输入框的颜色会改变
在main.js引入的css文件中写入
/*解决浏览器输入框在记住密码后改变颜色问题*/
input:-webkit-autofill {
/* 自动填充文字颜色 */
-webkit-text-fill-color: #ffe1b9 !important;
transition: background-color 5000s ease-in-out 0s;
}
然后的效果