- From: Jonathan Neal via GitHub <sysbot+gh@w3.org>
- Date: Fri, 01 Jun 2018 17:48:40 +0000
- To: public-css-archive@w3.org
@tobireif, have you experimented with nesting in a manner that reflects the current spec? While it isn’t 1:1 like Sass, I eventually preferred it because it was easy to scan and explicit without adding many characters (typically only one, `&`): ```pcss #main { color: black; & a { font-weight: bold; } @nest main > & { color: navy; } } ``` You _can_ experiment with it here: https://preset-env.cssdb.org/playground (I hope everyone will forgive my sharing that link, as I try hard not to seem like a salesperson.) -- GitHub Notification of comment by jonathantneal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2701#issuecomment-393958517 using your GitHub account
Received on Friday, 1 June 2018 17:48:44 UTC