We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Firefox 117 supports the following:
.foo { mark { background: lime; } main & { font-size: 2em; } }
(CodePen demo)
Other browsers don’t currently support a nested selector starting with a symbol, so the nesting selector & or the :is() pseudo-class is needed:
&
:is()
.foo { & mark { background: lime; } :is(main) & { font-size: 2em; } }
The CSSWG removed this restriction, but the other browser aren’t yet implemented/shipped this change.
Lightning CSS should apply these transformations, so the CSS authors can use a bare type selector at the start of the entire selector.
The text was updated successfully, but these errors were encountered:
a8b7ea0
No branches or pull requests
Firefox 117 supports the following:
(CodePen demo)
Other browsers don’t currently support a nested selector starting with a symbol, so the nesting selector
&
or the:is()
pseudo-class is needed:The CSSWG removed this restriction, but the other browser aren’t yet implemented/shipped this change.
Lightning CSS should apply these transformations, so the CSS authors can use a bare type selector at the start of the entire selector.
The text was updated successfully, but these errors were encountered: