freeCodeCamp/public/css/lib/bootstrap/mixins/labels.less

13 lines
161 B
Plaintext
Raw Normal View History

2014-07-02 04:57:48 +00:00
// Labels
.label-variant(@color) {
background-color: @color;
2014-11-08 22:27:02 +00:00
2014-07-02 04:57:48 +00:00
&[href] {
&:hover,
&:focus {
background-color: darken(@color, 10%);
}
}
}