W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-nesting]The parent selector should not be placed inside the subselector

From: Matthew Dean via GitHub <sysbot+gh@w3.org>
Date: Fri, 20 Jul 2018 01:47:44 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-406464444-1532051262-sysbot+gh@w3.org>
@tabatkins 

With your proposal, can someone write:
```less
.foo {
  @nest .parent & {
    & .foo1 { color: red; }
    & .foo2 { color: yellow; }
    & .foo3 { color: blue; }
  }
}
```
Just curious.

-- 
GitHub Notification of comment by matthew-dean
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2909#issuecomment-406464444 using your GitHub account
Received on Friday, 20 July 2018 01:49:36 UTC

This archive was generated by hypermail 2.3.1 : Friday, 20 July 2018 01:49:40 UTC