Re: [csswg-drafts] [css-anchor-position] Fairly common use-case seems pretty difficult (#13617)

@bfgeek oh wow, yes! That's it! Amazing.

https://random-stuff.jakearchibald.com/anchor-position-puzzle/v2/

In one of my first attempts I'd tried `min(fit-content, 100%)`, which obviously doesn't work, but I never thought to look at `calc-size()`. Nice!

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


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

Received on Tuesday, 10 March 2026 08:17:13 UTC