Here is a mixin that I would like to modify:
.a () {background-image: url(one.png);}
I want to create a new class .b
which inherits properties from .a
, but also includes an additional background image layer, like this:
.b {
.a; <-- import
background-image: url(second.png);
}
This code snippet should produce the following CSS output:
.b {
background-image: url(one.png);
background-image: url(second.png); /* wins */
}
and not:
.b {
background-image: url(one.png), url(second.png);
}
This is the desired outcome. Can this be achieved in LESS?