Add scroll-margin-top rules for #links #1851
Labels
category: feature add
New/added features
category: styles
affects lots of styles, requiring visual testing
Estimate: < 2 Hours
priority: low
Nice-to-have in a release.
type: feature request
https://css-tricks.com/fixed-headers-and-jump-links-the-solution-is-scroll-margin-top/
https://developer.mozilla.org/en-US/docs/Web/CSS/:target
Since we know the height of Largo's sticky nav, we can do something like:
This prevents the sticky nav from covering the element that is being scrolled to.
The text was updated successfully, but these errors were encountered: