Does it support `& > .foo` ?
xcatliu opened this issue · comments
xcatliu commented
In the spec, this should be supported:
.foo {
color: blue;
& > .bar { color: red; }
}
/* equivalent to
.foo { color: blue; }
.foo > .bar { color: red; }
*/
But I tried this plugin, it's not supported.
Jonathan Neal commented
Hey there! I’m sorry you’re having this issue. That syntax is totally supported. Try it out at http://jonathantneal.github.io/postcss-nesting/
I just did. It worked as you expected. Could you tell me more about the issue? I’m closing it because I’ve verified this is working, but I’m still happy to try to help you get things going.
xcatliu commented
Sorry for the disturbing. I can't repro the issue now. This is probably my mistake.
Anyway, thanks for your awesome project!