I wrote a new article: “Indirect Cyclic Conditions: Prototyping Parametrized CSS Mixins”
https://kizu.dev/indirect-cyclic-conditions/
In my quest to push forward what is possible with custom properties in #CSS, I discovered another application of cyclic dependencies. Combined with a prior technique based on custom cascade layers, we are now even closer to something that resembles native CSS mixins.
As usual, the credits:
- @leaverou (conditions!)
- @tldraw (schemes!)
- @5t3ph (smol grid!)
- @heydon (original question!)
- @mia (mixins!)