-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
Possible response in Prevent the browser from filling in the email and password field
– Barbetta
No. Just as I said in the question, it leaves the background white, does not avoid the background yellow.
– MAKOTSUAMI
Have you tried switching to transparent instead of white or the background color of the application?
– Costamilam
Possible duplicate of Change the background of input filled in by Chrome autocomplete
– hugocsl
I tried, then it turns yellow.
– MAKOTSUAMI
@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.– hugocsl