This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/sass/bootstrap-sass/bootstrap/mixins/_background-variant.scss

13 lines
233 B
SCSS

// Contextual backgrounds
// [converter] $parent hack
@mixin bg-variant($parent, $color) {
#{$parent} {
background-color: $color;
}
a#{$parent}:hover,
a#{$parent}:focus {
background-color: darken($color, 10%);
}
}