- From: Nilesh Prajapati via GitHub <sysbot+gh@w3.org>
- Date: Fri, 10 Jun 2022 15:09:27 +0000
- To: public-css-archive@w3.org
I have been using postcss nesting for the past month and prefer the current implementation of &{}.
body {
background: black;
color: white;
& main {
background: orange;
color: black;
}
& p {
font: serif;
}
}
where CSS nesting doesn't work for me; is the modifier (BEM methodology ) using the double dashes like the example below:
card {
&--large {
//
}
}
--
GitHub Notification of comment by nileshprajapati
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4748#issuecomment-1152464001 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 10 June 2022 15:09:28 UTC