Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jaffathecake
7 months ago
|
parent
|
context
|
favorite
| on:
A gentle introduction to anchor positioning
`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
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
https://developer.mozilla.org/en-US/docs/Web/CSS/anchor