Re: [csswg-drafts] [Request] [css-pseudo] Selector :viewport (#4581)

Just reading you description:

> To select elements which are in viewport at the moment - user can see them (or its position if hidden) without scrolling.

So you want to select elements depending on whether they have a non-zero intersection with the viewport, or something along these lines. This is a dependency on layout. It's not like `:hover`.

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


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

Received on Wednesday, 30 November 2022 09:59:31 UTC