css - chrome浏览器input记录上次cookie信息后,有个黄色背景~如何去除!
黄舟
黄舟 2017-04-17 11:08:21
0
2
598

首次,进来 input 没有背景色,提交信息后,记录cookie了~

下次,打开默认会显示上次的信息,然后 input 就会有一个黄色背景~

请问一下这个黄色背景要怎么去除呢?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

reply all(2)
巴扎黑

See Chrome’s auto-fill form has a light yellow background. Is there a way to customize it?

PHPzhong

This is for the browser, Chrome.
Searched for such a solution

input:-webkit-autofill {
-webkit-box-shadow: 0 0 0px 1000px white inset;
}

However, the test found that the color only changed back to the default after the mouse left the input. Before leaving, it was still the yellow background of the browser.
Original address: http://blog.csdn.net/wangxiaohui6687/article/details/10149579

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template