Why I spent years trying to make CSS states predictable
Summary
An in-depth look at the instability of CSS state resolution when many states intersect. The author introduces a declarative approach via Tasty that uses a priority map to generate non-overlapping selectors, enabling predictable component behavior and easier evolution of design systems.