I have design problem with Google Chrome and its form autofill function. If Chrome remembers some login/password it changes a background color to a yellow one.
Here are some screenshots:
How to remove that background or just disable this autofill ?
If you want to avoid the yellow flicker until your css is applied slap a transition on that bad boy like so:
A combination of answers worked for me
What about that solution:
It turns off the auto-complete and auto-fill (so yellow backgrounds disappear), waits 100 milliseconds an then turns the auto-complete functionality back without auto-fill.
If you have inputs that need to be auto-filled, then give them
auto-complete-on
css class.This helped me, a CSS only version.
input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px white inset; }
where white can be any color you want.
This fixes the problem on both Safari and Chrome
I fixed this issue for a password field i have like this:
Set the input type to text instead of password
Remove the input text value with jQuery
Convert the input type to password with jQuery