Fork-Awesome/assets/less/bootstrap-3.3.5/mixins/background-variant.less

10 lines
151 B
Plaintext
Raw Normal View History

2014-08-27 00:51:53 +08:00
// Contextual backgrounds
.bg-variant(@color) {
background-color: @color;
a&:hover,
a&:focus {
2014-08-27 00:51:53 +08:00
background-color: darken(@color, 10%);
}
}