Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ihorduchenko/4ad7a851f7951b5fed09953d7a3da345 to your computer and use it in GitHub Desktop.
Save ihorduchenko/4ad7a851f7951b5fed09953d7a3da345 to your computer and use it in GitHub Desktop.
Fixed page header overlaps in-page anchors - SOLUTION
html {
scroll-padding-top: 80px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment