On a form I\'m working on, Chrome is auto-filling the email and password fields. This is fine, however, Chrome changes the background colour to a pale yellow colour.
I have a better solution.
Setting the background to another color like below didn't solve the problem for me because I needed a transparent input field
-webkit-box-shadow: 0 0 0px 1000px white inset;
So I tried some other things and I came up with this:
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
transition: background-color 5000s ease-in-out 0s;
}