Open hkz404 opened 9 years ago
+1
+1
The same happens in LESS
.hq-loop(@n, @i: 1) when (@i =< @n) {
.col-hq-@{i}:extend(.col-hq-1) {}
.col-hq-@{i} {
width: (@i * 100% / @n);
}
.hq-loop(@n, (@i + 1));
}
.hq-loop(12);
is formatted to:
.hq-loop(@n, @i:1) when (@i =< @n) {
.col-hq-@ {
i
}
:extend(.col-hq-1) {
}
.col-hq-@ {
i
}
{
width: (@i * 100% / @n);
}
.hq-loop(@n, (@i + 1));
}
.hq-loop(12);
+1
+1
output: