Re: [csswg-drafts] [selectors][mediaqueries] :media() pseudo-class as a shortcut for one-off media queries (#6247)

> > It might help to organize a comprehensive list of all at-rules that could benefit from a pseudo-class counterpart like this.
> 
> Yes, I think putting a little more thought into this problem holistically is needed. Just dropping a `:media()` pseudo would be _useful_, but it kicks the can down the road, and we already have a lot of examples that would similarly benefit, as you've listed.

That's what we discussed in https://github.com/w3c/csswg-drafts/issues/11969

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


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

Received on Tuesday, 5 August 2025 14:13:25 UTC