Hacker News new | ask | show | jobs
by paavohtl 763 days ago
position: relative adds a fixed offset to the position the element would have been placed in normally, but position: anchor can be used to place an element near any arbitrary element, regardless of its place in the DOM hierarchy.