3 ms·
`position-anchor` is a high-level simple way of doing it, and it comes with the restrictions you mention. However, the `anchor()` function, which is also mentio
by jaffathecake 1y ago
`position-anchor` is a high-level simple way of doing it, and it comes with the restrictions you mention. However, the `anchor()` function, which is also mentioned in the article, gives you the kind of flexibility you want.
https://developer.mozilla.org/en-US/docs/Web/CSS/anchor https://developer.mozilla.org/en-US/docs/Web/CSS/anchor