Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CSS Nesting #474

Open
freshp86 opened this issue Dec 13, 2023 · 1 comment
Open

Add support for CSS Nesting #474

freshp86 opened this issue Dec 13, 2023 · 1 comment

Comments

@freshp86
Copy link

See https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting.

It currently seems to not work and nested CSS rules are stripped from the output. For example passing the following

.parent {
 & .child {
  color: blue;
 }
}

produces an empty output. Same happens if the & nesting selector is omitted.

@laurentpayot
Copy link

Any update? CSS nesting is now considered a standard practice: https://caniuse.com/css-nesting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants