demo · v132
Margins that scale with the anchor
Before v132 you could read anchor-size() from width / height only. v132 unlocks it inside margin-* too — so a tooltip can sit a percentage of the anchor's own height below it. Same rule, three anchors of three sizes: the gap follows.
checking support…
tip 1
tip 2
tip 3