Re: [csswg-drafts] [animation-triggers-1] Proposal: toggle Custom States using Animation Triggers (`state-trigger`) (#13579)

I wanted to mention something similar to what @flackr wrote: this looks pretty similar to the container queries, and potentially block-level conditions (now that we have `if()`), and might intersect with some of the discussions we had about allowing some of the at-rules to be used on the selector level.

It would be great to have a comparison with those proposals and techniques we have today (container style queries, conditions), and what the upsides/downsides/intersections with this proposal are.

-- 
GitHub Notification of comment by kizu
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13579#issuecomment-4164480265 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 31 March 2026 18:10:43 UTC