Y
Hacker News
new
|
ask
|
show
|
jobs
by
jaffathecake
315 days 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