Remove yellow form background after autocomplete

Asked

Viewed 373 times

-1

Good evening, as shown below, does anyone know how not to yellow the background after an Autofill of Chrome??? I’ve seen some ways to change the color, but keep the original background not found, even if I change the color to a white still gets ugly because the original form is transparent. Note: I am using the materialize

inserir a descrição da imagem aqui

  • No. Just as I said in the question, it leaves the background white, does not avoid the background yellow.

  • Have you tried switching to transparent instead of white or the background color of the application?

  • I tried, then it turns yellow.

  • @Now, you have to use the class input:-webkit-autofill and put the style on it -webkit-box-shadow: 0 0 0 300px SUACOR inset; and ready. You do not need to have the transparent background in this house. Your background can have the same yellow color of the form. Then your class would look like this: input:-webkit-autofill { -webkit-box-shadow: 0 0 0 30px SUACOR inset;} If you solve tell me that I create a more complete answer for you to understand better.

Show 1 more comment

1 answer

0

You can use css:

background-color: transparent;

Or

background-color: inherit;

You can also try to put !important after the value, to force this property if another is running after the assignment.

background-color: inherit !important;

Browser other questions tagged

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