Using variable on mixin
or extend
in Less.js
as follow will throw error.
@bar : bar;
.@{bar} {
background: yellow;
}
// ParseError: Missing closing ')'
.foo {
.@{bar}();
}
// Not work
.jam {
&:extend(.@{bar});
}
Has Less.js
a proper syntax to call mixin
with variables?