c-resources/CPlusPlus20ForProgrammers-m.../examples/libraries/fmt/doc/bootstrap/mixins/labels.less

13 lines
161 B
Plaintext
Raw Normal View History

2024-04-09 06:45:18 +00:00
// Labels
.label-variant(@color) {
background-color: @color;
&[href] {
&:hover,
&:focus {
background-color: darken(@color, 10%);
}
}
}