Skip to content

Instantly share code, notes, and snippets.

@EdPoole
Last active August 29, 2015 13:55
Show Gist options
  • Save EdPoole/8740898 to your computer and use it in GitHub Desktop.
Save EdPoole/8740898 to your computer and use it in GitHub Desktop.
On autofill inputs, Google Chrome adds a yellow background to the user agent stylesheet that *cannot* be unset by custom styles.
input:-webkit-autofill {
-webkit-text-fill-color: white;
-webkit-box-shadow: 0 0 0 100px red inset;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment