summaryrefslogtreecommitdiff
path: root/bootstrap/fonts/less/mixins/background-variant.less
blob: a85c22b745302f42c8282c0f9b7dce8a2f1384d7 (plain)
1
2
3
4
5
6
7
8
9
// Contextual backgrounds

.bg-variant(@color) {
  background-color: @color;
  a&:hover,
  a&:focus {
    background-color: darken(@color, 10%);
  }
}