Re: [csswg-drafts] [css-flexbox][css-align] Support `justify-items` for flexbox containers (and `justify-self` for items) (#9495)

> `justify-items` Applies to: block-level boxes, absolutely-positioned boxes, and grid items

@yisibl `justify-items` just sets the default `justify-self` of the children, and `justify-self` applies to "block-level boxes, absolutely-positioned boxes, and grid items". So:

| `justify-self` | `justify-items` |
| - | - |
| block-level boxes | block containers |
| grid items | grid containers |
| absolutely-positioned boxes | all elements |

Actually `justify-self: auto` behaves as `normal` when determining the actual position of an abspos, but it still uses the `justify-items` of the parent box when determining the static position. And the parent box could be whatever.

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


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

Received on Tuesday, 19 November 2024 21:21:34 UTC