I have a dark form on my website and I want to change the color of the contacts autofill button when the input field is empty. How can this be achieved?
1 Answer
input:not(input:-webkit-autofill)::-webkit-contacts-auto-fill-button {
background-color: #fff;
}