I want to do this:
.classname {
color: red
a& {
color: blue;
}
}
and for compilation:
.classname {
color: red;
}
a.classname {
color: blue;
}
Is there any syntax to support this? I tried to use a&, #{a&}and the compass function #{append-selector("a", "&")}, but they do not compile, a &does, but the results are obviously in a .classname, and not a.classname.
Steve source
share