As the working draft were [implemented](https://developer.chrome.com/articles/css-nesting/) in [most of the browsers](https://caniuse.com/css-nesting), it would be great to support the nesting here as well. ```css .demo { & .circle { opacity: .25; filter: blur(25px); } > .square { color: red; } } ```
Activity
pascalduez commentedon Aug 18, 2023
Hello,
I was curious so just did a quick test, seems so nesting is currently supported?
https://codesandbox.io/s/jovial-neco-whpg94?file=/src/Test.module.css
The compiled CSS properly keep the nesting, classes are scoped.
At least with this implementation, which I believe is create-react-app, css-loader etc.
JuanPastenCastillo commentedon Jun 21, 2024
At least, for now you can use it this way on Nextjs:
Result: