summaryrefslogtreecommitdiffstats
path: root/src/fmt/doc/bootstrap/mixins/background-variant.less
blob: 556e490d45d004c4e4504153133c5c1050207b65 (plain)
1
2
3
4
5
6
7
8
// Contextual backgrounds

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