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: 王美建 via GitHub <sysbot+gh@w3.org>
Date: Wed, 18 Jul 2018 02:29:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-405788821-1531880948-sysbot+gh@w3.org>
```css
@nest .parent {
	.foo {
	  color: red;
	}
	.foo2 {
	  color: yellow;
	}	
	.foo3 {
	  color: blue;
	}
}
```
like less, I just write .parent once @tabatkins 

-- 
GitHub Notification of comment by wangmeijian
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2909#issuecomment-405788821 using your GitHub account
Received on Wednesday, 18 July 2018 02:29:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 18 July 2018 02:29:14 UTC