Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
IE(10)是否可以去除输入元素的虚线轮廓?
默认情况下,IE 不会为input元素绘制轮廓。因此,您需要找出样式表中的原因并删除或覆盖相关设置。对于覆盖,您可以使用
input
input { outline-style: none }
但是根据导致问题的样式表,您可能需要使选择器更具体和/或添加!important.
!important