- From: Roman Komarov via GitHub <sysbot+gh@w3.org>
- Date: Sun, 09 Jun 2024 13:48:40 +0000
- To: public-css-archive@w3.org
> I would lean towards adding the gap to the element attached to the anchor, that way we can use gaps the same way we use it with grid and flex layout If so, is there a reason a margin does not work for this? https://codepen.io/kizu/pen/dyEzjpZ Here the margin is defined only on one side, and when the `position-try-options` flip the element, the margins are also flipped. And for `anchor()` we can already use calculations to adjust its value when necessary. Thinking about it: having the `anchor-gap` or `anchor-margin` on the element itself could be more useful, as it will achieve something a property on the attached element can't: define a minimum margin between the anchor and anything that wants to be attached to it. -- GitHub Notification of comment by kizu Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10396#issuecomment-2156614239 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 9 June 2024 13:48:41 UTC