Bootstrap's Togglable Tabs - Removing outline / focus ?

前端 未结 8 1782
借酒劲吻你
借酒劲吻你 2021-02-01 15:15

I am using Toggable Tabs from Twitters Bootstrap

The problem I have, Even you can see from the example too. That when the user clicks the tab, The active tab has the dot

8条回答
  •  Happy的楠姐
    2021-02-01 15:27

    try using outline: 0; on the link element. see css-tricks.com/removing-the-dotted-outline

    //line 2576 of bootstrap.css
    .nav-tabs > .active > a, .nav-tabs > .active > a:hover { 
    outline: 0;
    color: #555555;
    background-color: #ffffff;
    border: 1px solid #ffffd;
    border-bottom-color: transparent;
    cursor: default;
    }
    

提交回复
热议问题