css - Why is Google Chrome ignoring my style? -
css - Why is Google Chrome ignoring my style? -
i'm trying override yellowish background color chrome puts in -webkit-autofill
text elements. though inspector tool tells me chrome applying own css rule, computed style still yellow. here's mean:
here's codepen of issue. click on input field give focus , select dropdown list. (chrome uses 'name' attribute find matching autocomplete options may need alter you've used before autocomplete dropdown show)
why isn't computed style element white instead of yellow?
apparently can't override this, , need utilize hack workaround:
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px white inset; }
css google-chrome
Comments
Post a Comment