Bootstrap button - remove outline on Chrome OS X

前端 未结 16 1900
后悔当初
后悔当初 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:56

    In the mixins of the Bootstrap sources Sass files, remove all $border references (not in the outline variant).

    @mixin button-variant($color, $background, $border){ 
    $active-background: darken($background, 10%);
    //$active-border: darken($border, 12%);    
      color: $color;
      background-color: $background;
      //border-color: $border;
      @include box-shadow($btn-box-shadow);
      [...]
    }
    

    Or simply code you own _customButton.scss mixin.

提交回复
热议问题