橙色边框的“选择器效果”(可以在这里看到:http: //jqueryui.com/tabs/#default)很烦人..这是从哪里来的?如何摆脱它?
问问题
30 次
2 回答
1
Try adding this to the CSS
:focus {
outline: 0;
}
if it doesn't work you may have to declare
:focus {
outline: 0 !important;
}
于 2013-08-13T02:05:57.790 回答
0
I assume you're speaking about the outline a browser will add on anchor elements. Blue orange or whatever, depending on the browser.
This is a CSS fix.
.class-name {
outline: 0;
}
Please note: Removing outlines in this manner can prevent visually impaired users, or users without a mouse from accessing your content.
于 2013-08-13T02:06:54.987 回答