mirror of https://github.com/twbs/bootstrap.git
12 lines
165 B
SCSS
12 lines
165 B
SCSS
|
// Tags
|
||
|
|
||
|
@mixin badge-variant($color) {
|
||
|
background-color: $color;
|
||
|
|
||
|
&[href] {
|
||
|
@include hover-focus {
|
||
|
background-color: darken($color, 10%);
|
||
|
}
|
||
|
}
|
||
|
}
|