chrome的input默认样式黄色背景以及选中加粗的边框处理

问题描述:

chrome输入用户名和密码,然后浏览器自己有记忆功能,等再次登录的时候,他会显示chrome默认的黄色背景色,还有选中时周围会有很粗的边框

解决方案:

去掉黄色背景,给input添加autocomplete=‘off’

去掉粗边框,给input添加outline:none;

原文地址:https://www.cnblogs.com/springlight/p/CSS.html