DEV Community

mhsohag11
mhsohag11

Posted on

Answer: Removing input background colour for Chrome autocomplete?

Update 2021

Working after 2021 update:

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}
input[data-autocompleted] {
    background-color: transparent !important;
}

Discussion (0)