Re: [csswg-drafts] [css-anchor-position] Aliasing names of span-* values to center-span-* for clarity (#12683)

> Is it possible that the _initial position_ is the confusing one (i.e. it's unclear that "bottom" means to start at the "center-bottom)? I still think that the `span` keyword should not be pre-pended, but would something like `position: center-bottom span-right` be more clear?

I don’t think that would work either, because if you declare `position-area: center-bottom` _(which is effectively the same as `position-area: center-bottom span-all`)_ it does not place the anchored element in “the center of the bottom row” which that keyword might indicate.

My mental model of this, is:
1. You move the anchored element into a column or row (using `bottom`, `right`, etc.)
2. You then give it room into a certain direction using the `span-*` keywords, which all - with the exception of `span-all` – start spanning from the center.

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


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

Received on Tuesday, 13 January 2026 07:46:23 UTC