修改chrome浏览器中自带input样式input:-internal-autofill-selected

501 阅读1分钟

直接.input:-internal-autofill-selected 修改虽然看起来确实被覆盖了,但其实是不起作用的。
修改方式:
input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #yourcolor inset !important; }