Closed
Description
So in sass you can use the parent select as such:
a { font-weight: bold; text-decoration: none; &:hover { text-decoration: underline; } body.firefox & { font-weight: normal; } }
which is compiled to:
a { font-weight: bold; text-decoration: none; } a:hover { text-decoration: underline; } body.firefox a { font-weight: normal; }
Is this planned for less.js?
Metadata
Metadata
Assignees
Labels
No labels