background-variant.less 151 B

123456789
  1. // Contextual backgrounds
  2. .bg-variant(@color) {
  3. background-color: @color;
  4. a&:hover,
  5. a&:focus {
  6. background-color: darken(@color, 10%);
  7. }
  8. }