postcss-plugins icon indicating copy to clipboard operation
postcss-plugins copied to clipboard

Conditional Rules

Open romainmenke opened this issue 3 years ago • 2 comments

What would you want to propose?

Conditional Rules spec is now a working draft. We could consider adding it.

I still need to read through the spec fully to know if this can be done through PostCSS transforms.

https://www.w3.org/TR/2021/WD-css-conditional-5-20211221/

Suggested solution

new plugin for condition rules.

Additional context

https://github.com/andyjansson/postcss-conditionals

Validations

  • [X] Follow our Code of Conduct
  • [X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

  • [X] I'm willing to open a PR

romainmenke avatar Jan 07 '22 17:01 romainmenke

Needs to be added to CSSDB, will handle since it was on Editors Draft (stage 0)

Antonio-Laguna avatar Jan 07 '22 17:01 Antonio-Laguna

This is now correctly on CSSDB since version 6.0.1

Antonio-Laguna avatar Jan 07 '22 19:01 Antonio-Laguna