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
Current:
@block list { margin: 0; @element item { padding: .5rem 1rem; & + .list__item { margin-left: .5rem; } } }
Feature:
@block list { margin: 0; @element item { padding: .5rem 1rem; & + & { margin-left: .5rem; } } }
The text was updated successfully, but these errors were encountered:
I don't plan on enabling this type of feature, there is postcss-nested plugin in which this output would be fully supported.
Sorry, something went wrong.
Actually, I use postcss-cssnext which includes postcss-nesting, but it seems the postcss-nesting plugin not support this feature (csstools/postcss-nesting#17), so I will turn to use postcss-nested now. Thanks!
Works fine with the following config (postcss.config.js):
postcss.config.js
module.exports = { plugins: { 'postcss-atrule-bem': {}, 'postcss-cssnext': {}, 'postcss-nested': {}, }, };
Or:
module.exports = { plugins: { 'postcss-atrule-bem': {}, 'postcss-nested': {}, 'postcss-cssnext': {}, }, };
No branches or pull requests
Current:
Feature:
The text was updated successfully, but these errors were encountered: