Re: [csswg-drafts] [css-position] Proposal for new 'position' value: fixed-to-parent (#8066)

So, maybe OP's example wasn't the best vehicle to propose this idea, but I think a new position value that behaves like `fixed` but is relative to the nearest scroll ancestor (not scrolling with it, as opposed to `absolute`) instead of the viewport is a great idea, and definitely something I've needed in the past. In fact, it's obviously too late to change that, but `fixed` would have been a great name for it, and the current `fixed` could have been called `viewport-fixed`. How about `scroll-fixed`?

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


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

Received on Thursday, 18 April 2024 03:23:36 UTC