Re: [csswg-drafts] [selectors-4] Add a :media pseudo-class, to match the set of elements matching the media pseudo-classes (#6237)

No opinion on the feature itself, but not sure about the name. As an author, if I saw `:media()` I'd think it relates to media queries. In fact, such a pseudo-class would be quite useful, to avoid duplication when authors want to apply a given styling both on a selector, and on a media query. I guess I should open an issue about that.

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


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

Received on Tuesday, 27 April 2021 10:56:33 UTC