Safari - Webkit contacts autofill button icon change color on empty
问题 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: input:not(input:-webkit-autofill)::-webkit-contacts-auto-fill-button { background-color: #fff; } 来源: https://stackoverflow.com/questions/43517932/safari-webkit-contacts-autofill-button-icon-change-color-on-empty