-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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