- From: 一丝 via GitHub <sysbot+gh@w3.org>
- Date: Thu, 01 Feb 2024 16:33:51 +0000
- To: public-css-archive@w3.org
Can the new syntax do this easily?


Currently, we can used:
```css
.horizontal .tooltip {
left: anchor(50%);
top: auto;
bottom: calc(anchor(top) + 3px);
justify-self: anchor-center;
}
.vertical .tooltip {
inset: auto;
left: calc(anchor(right) + 3px);
top: calc(anchor(50%));
align-self: anchor-center;
justify-self: auto;
}
```
With the current syntax, align-self and justify-self need to be interchanged.
--
GitHub Notification of comment by yisibl
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9196#issuecomment-1921730384 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 1 February 2024 16:33:53 UTC