Re: [csswg-drafts] [selectors] Proposal: :near(<length>) pseudo-class for pointer proximity (“pre-hover” styling) (#13271)

While I do acknowledge the use-case, I don't think a mechanism like `:near()`is the right solution here.

I think a property that allows you to extend the hit area (or maybe have you set a min-size for that hit-area?) would be better.

By making it a property instead of a selector, you can do it conditionally in a media query, e.g. based on the (lack of) a fine pointer being used.

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


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

Received on Saturday, 14 March 2026 21:21:05 UTC