elements names can't be used for mixins names
Closed this issue · 1 comments
rabio commented
Documentation on the lesscss.org site states:
Any CSS class, id or element ruleset can be mixed-in that way.
but unfortunately this isn't true for elements.
For example code below produces syntax error when compiled:
div {
display: table;
}
.some-class {
div;
}
cloudhead commented
Ah yes, this was changed sometime ago for parsing reasons. I'll update the doc.