Duration
2 min
Access
Free
Transcript
Available

In this lesson, we take a look at how you can use CSS scroll-margin-top to give your content breathing room when using anchor scrolling.

Combine this with CSS variables and calc to combat fixed-position nav layouts.