Bootstrap button - remove outline on Chrome OS X

前端 未结 16 1897
后悔当初
后悔当初 2021-02-01 12:31

I am looking to achieve this: http://getbootstrap.com/javascript/#popovers-examples - scroll to the \"live Demo\" and hit the red popover button, in Chrome on OS X.... It\'s per

16条回答
  •  死守一世寂寞
    2021-02-01 12:51

    That CSS goes from this file "tab-focus.less" in mixins folder (it could be difficult to find, because mixins are not shown at chrome dev-tools). So you should edit this:

    // WebKit-style focus 
    
    .tab-focus() {
          // Default
          outline: thin dotted;
          // WebKit
          outline: 5px auto -webkit-focus-ring-color;
          outline-offset: -2px;
        }
    

提交回复
热议问题