444401dc3c
Dynamic mixins aren't treated enough like Rulesets. There is some code duplication which needs to be cleaned up, ideally they should share a prototype.
19 lines
191 B
Plaintext
19 lines
191 B
Plaintext
.mix-inner (@var) {
|
|
border-width: @var;
|
|
}
|
|
|
|
.mix (@a: 10) {
|
|
.inner {
|
|
height: @a * 10;
|
|
|
|
.innest {
|
|
width: @a;
|
|
.mix-inner(@a * 2);
|
|
}
|
|
}
|
|
}
|
|
|
|
.class {
|
|
.mix(30);
|
|
}
|