In base.less
:
html{font-size:16px}
body{color:green}
In theme.less
:
html{color:red}
In main.less
:
@import "base.less"
@import "theme.less"
When compiled it outputs:
html{font-size:16px}
body{color:green}
html{color:red}
How can I output this?
html{font-size:16px;color:red;}
body{color:green}
I tried this in theme.less
without success:
html:extend(html) { color:red }
Do I need to use a CSS optimizer or is there something in LESS I can use?