This content originally appeared on DEV Community and was authored by mhsohag11
After 2 hours of searching it seems google still overrides the yellow color somehow but i for the fix for it. That's right. it will work for hover, focus etc as well. all you have to do is add !important to it.
input:-webkit-autofill
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
-webkit-box-shadow: 0 0
…
This content originally appeared on DEV Community and was authored by mhsohag11
mhsohag11 | Sciencx (2022-04-05T04:19:44+00:00) Answer: Removing input background colour for Chrome autocomplete?. Retrieved from https://www.scien.cx/2022/04/05/answer-removing-input-background-colour-for-chrome-autocomplete/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.