csstools / csstools/postcss-plugins

Conditional Rules

Offen
#134 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
feature request
Vorherrschende Sprache
CSS
Sterne
1.1k
Forks
83
Ø Merge
10 Std. 16 Min.
Gemergte PRs (30 T.)
16

Beschreibung

### 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](https://github.com/csstools/postcss-plugins/blob/master/CODE_OF_CONDUCT.md)
- [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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.