Answer the question
In order to leave comments, you need to log in
What is the error of using extend in a mixin with a parameter?
We have in LESS
@color-blue: blue;
.mymixin(@color) {
[email protected]{color} {
font-size: 1
}
.zzz {
&:extend([email protected]{color});
}
}
.mymixin(blue);
.test-blue {
font-size: 1;
}
.test-blue,
.zzz {
font-size: 1;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question