javascript - 选择新选项卡后隐藏选择轮廓

标签 javascript css twitter-bootstrap-3 tabs outline

我正在使用 Bootstrap ,在选择每个选项卡后,选项卡链接周围出现的小轮廓让我很恼火。有什么办法可以去除吗?

我尝试使用下面的技巧,但没有帮助

a:active {
    outline: none;
}

左图是我得到的。正确的图像是应该的。

enter image description here enter image description here

最佳答案

这是整个页面的解决方案

html * {
 outline: 0 !important;
}

关于javascript - 选择新选项卡后隐藏选择轮廓,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33621134/

相关文章:

php - 在 php 的 javascript 中获取 Checkbox[] 值

javascript - 尽管我使用具有正确语法的 ng-show,但类 ="ng-hide"会自动附加

javascript - 关闭 W3School Accordion 的所有按钮(仅限 html、css、js)

html - 在平板电脑 View 中折叠面板

html - 导航栏 Bootstrap 示例 - 包括 Logo /图像

javascript - 无法使用 CoffeeScript 在 Meteor 中创建仅限客户端的集合

javascript - 在 DC.js 中呈现多折线图

php - 使用 Javascript 或 HTML 进行 POST 安全 SSL 登录

css - 如何在bootstrap中获取div的动态高度

html - Bootstrap 字体很棒的图标在下载的 CSS 中不起作用