Prevent content from being hidden underneath a fixed header by using `scroll-margin-top`

You click a jump link like Jump which links to something like <h3 id="header-3">Header</h3>. That’s totally fine, until you have a position: fixed; header at the top of the page obscuring the h3 you’re trying to link to!

Permalink