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

Conditional Rules #134

Open
3 tasks done
romainmenke opened this issue Jan 7, 2022 · 2 comments
Open
3 tasks done

Conditional Rules #134

romainmenke opened this issue Jan 7, 2022 · 2 comments
Labels
feature request New feature or request

Comments

@romainmenke
Copy link
Member

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

  • Follow our Code of Conduct
  • 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?

  • I'm willing to open a PR
@romainmenke romainmenke added the feature request New feature or request label Jan 7, 2022
@Antonio-Laguna
Copy link
Member

Antonio-Laguna commented Jan 7, 2022 via email

@romainmenke romainmenke changed the title Condition Rules Conditional Rules Jan 7, 2022
@Antonio-Laguna
Copy link
Member

This is now correctly on CSSDB since version 6.0.1

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

No branches or pull requests

2 participants