background-variant.less 151 Bytes
Newer Older
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%);
  }
}