Change Input background to transparent on autocomplete form

css, html

Solution

Finally i get the result with this piece of code:

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #fff !important;
}

Problem

i wanted to set the background color to transparent to my input when the browser autocomplete my form, currently looks like the image added, anyone know how to accomplish this? I've tried this but it set to white and the borders are style with the yellow default, i want the color for the text to be white too. ``` input:-webkit-autofill { -webkit-box-shadow: 0 0 0px 1000px white inset; } ``` This is how it looks: Thanks in advance :)

Original source

Related problems