浏览器默认回显的密码:
通过CSS给表单选择器添加以下代码即可:
:-webkit-autofill {
-webkit-text-fill-color: white !important;
transition: background-color 5000s ease-in-out 0s;
}
解决效果:
浏览器默认回显的密码:
通过CSS给表单选择器添加以下代码即可:
:-webkit-autofill {
-webkit-text-fill-color: white !important;
transition: background-color 5000s ease-in-out 0s;
}
解决效果: