Answer the question
In order to leave comments, you need to log in
Why doesn't this code compile with less?
I use less-loader, for some reason this construction:
.transition(@rest...){
each(@rest, {
transition: @{value} 0.5s ease;
});
}
@selectors: blue, green, red;
each(@selectors, {
.sel-@{value} {
a: b;
}
});
И он компилируется
Answer the question
In order to leave comments, you need to log in
It is necessary to remove the interpolation of the value variable .
.transition(@rest...){
each(@rest, {
transition: @value 0.5s ease;
});
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question