mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-02 14:24:19 +01:00
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%);
|
|
}
|
|
}
|
|
}
|