Google Chrome form autofill and its yellow background

hsz picture hsz · May 27, 2010 · Viewed 183.1k times · Source

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:

alt text alt text

How to remove that background or just disable this autofill ?

Answer

Fareed Alnamrouti picture Fareed Alnamrouti · Jan 8, 2013

Change "white" to any color you want.

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}