Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-webkit-autofill styling doesn't work #650

Open
1 of 8 tasks
Pixelsnbeards opened this issue May 1, 2018 · 0 comments
Open
1 of 8 tasks

-webkit-autofill styling doesn't work #650

Pixelsnbeards opened this issue May 1, 2018 · 0 comments

Comments

@Pixelsnbeards
Copy link

I want to change the -webkit-autofill background and colour to something different than the standard yellow. Because I can't change the shadow dom input tag I am unable to style this element with the following codes

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

I've tried this on paper-input as well but that doesn't work either.

This is where I got my information on how to change it:

https://stackoverflow.com/questions/2781549/removing-input-background-colour-for-chrome-autocomplete

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant