Remove background color from autocomplete input

Asked

Viewed 1,188 times

1

Something that makes me very uncomfortable is when the google browser autocompletes something and leaves the input with yellow background, how can I remove it? inserir a descrição da imagem aqui

1 answer

3


This is a bit of a scam, but it should solve your problem :)

/* Trocar para branco qualquer cor */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.