去除浏览器记住密码背景色

直接行代码:

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
    -webkit-text-fill-color: #000 !important;
    background-color:transparent;
    background-image: none;
    transition: background-color 50000s linear 0s; //背景色透明  生效时长  过渡效果  启用时延迟的时间
}
input {
    outline: none;
    border: none;
    background-color:transparent;
}

亲测有效 o v o

你可能感兴趣的:(去除浏览器记住密码背景色)