Files
startbootstrap-sb-admin-2/vendor/bootstrap/scss/mixins/_badge.scss
David Miller af58467db4 updating to 4.0
New design with breaking changes, gulp 4, all dependencies updated, dev environment changed, and many more changes
2019-01-03 12:10:55 -07:00

12 lines
208 B
SCSS

@mixin badge-variant($bg) {
color: color-yiq($bg);
background-color: $bg;
@at-root a#{&} {
@include hover-focus {
color: color-yiq($bg);
background-color: darken($bg, 10%);
}
}
}