nex3/sass — Issue #250: Child selectors
Author: ebednarz
Created: 2012-01-15 12:53:50+00:00
State: open

I just started playing with SASS this week and didn't find anything about child selectors in the documentation.

Something like the following appears to work fine:

.copy {
> {
p {
margin: 0;
text-indent: 1.5em;
}
}
}

Are there any reasons (e.g. complex use cases) not to use this? Otherwise it would be nice if it was
a) documented and
b) if the compressed style would strip whitespaces surrounding '>'