Re: CSS Hierarchies / Selector Nesting Proposal

On Jun 1, 2011, at 7:12 PM, Tab Atkins Jr. wrote:

> On the other hand, we are leaning towards only allowing selector lists in
> nested selectors via repeated insertion of the '&' character:
> 
> foo {
>  & bar, & far, &:hover {
>    prop: val;
>  }
> }

Why? It looks clear enough (and eminently parse-able) to me to do this:

foo {
 & bar, far, :hover {
   prop: val;
 }
}

Received on Thursday, 2 June 2011 14:36:50 UTC