JavaScript

Tag: Page 1 of 1

Dynamic Scroll Offset Via Custom Properties

Maybe you have a large project where there is a sticky header on some pages and not others, or the sticky header changes size based on content. By default if you use an anchor link to jump down to a section of the page it will line up the target…