Re: [csswg-drafts] [css-overflow-5] Improve active marker calculation (#10917)

The proposed algorithm sounds good at the first glance. I recently implemented something similar to it in my blog (https://blog.kizu.dev/captured-custom-properties/ for example, using scroll-driven animations, so works only in Chrome for now, [source CSS behind it](https://github.com/kizu/kizu-blog/blob/main/src/styles/features/scroll-markers.css)). I am using an `inset: 50%` with the “markers” on headers, which seems to work better than any of my other attempts to do so.

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


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

Received on Friday, 27 September 2024 21:34:30 UTC