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

9 lines
139 B
Plaintext
Raw Permalink Normal View History

2024-04-09 06:45:18 +00:00
// Contextual backgrounds
.bg-variant(@color) {
background-color: @color;
a&:hover {
background-color: darken(@color, 10%);
}
}