[csswg-drafts] New `container-fixed` value for `position` within a `@container` (#8762)

brandonmcconnell has just created a new issue for https://github.com/w3c/csswg-drafts:

== New `container-fixed` value for `position` within a `@container` ==
With the growing support for `@container`, it’d be cool if CSS added a new `position` value to make an element fixed within the context of its container.

The main workaround for this I've used thus far is to position an element `absolute` within its parent with the top value offset by the current scroll distance of its parent.

We can certainly bikeshed on the value name a bit more as `container-fixed` is a bit verbose, but that's the general idea.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8762 using your GitHub account


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

Received on Monday, 24 April 2023 20:11:44 UTC