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
Raw Normal View History

2015-09-15 15:03:25 +00:00
// 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%);
}
}