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

Re: [csswg-drafts] [css-nesting] simpler embedding of media queries (#5805)

From: Johannes Odland via GitHub <sysbot+gh@w3.org>
Date: Wed, 28 Jul 2021 06:15:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-888041752-1627452936-sysbot+gh@w3.org>
The PostCSS preprocessor has also allowed this simpler syntax for a long time through the [PostCSS Nesting](https://github.com/csstools/postcss-nesting#readme) plugin. It is automatically enabled using [PostCSS Preset Env](https://github.com/csstools/postcss-preset-env#readme). 

This syntax is familiar to many developers already. It's more readable and feels more natural than having the extra ampersand and braces. 

GitHub Notification of comment by johannesodland
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5805#issuecomment-888041752 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 July 2021 06:15:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:39 UTC