Re: [csswg-drafts] [css-anchor-1][css-position] Add the “centering” behavior which is now defined as an example in the specs as something built-in (#8979)

You can actually omit the left/right as well - anchor-center makes auto insets resolve to 0.

So it's just

```
.centered-anchor {
  position: absolute;
  anchor-default: --myAnchor;
  justify-self: anchor-center;
}
```

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


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

Received on Wednesday, 2 August 2023 18:29:33 UTC