switching/sass/bootstrap/mixins/_labels.scss

13 lines
167 B
SCSS
Raw Normal View History

2019-08-21 09:57:48 +00:00
// Labels
@mixin label-variant($color) {
background-color: $color;
&[href] {
&:hover,
&:focus {
background-color: darken($color, 10%);
}
}
}