Skip to content

Instantly share code, notes, and snippets.

@maxkostinevich
Created July 31, 2016 11:25
Show Gist options
  • Save maxkostinevich/4888c6f3c4220bac1b4b4e2ec7ba9174 to your computer and use it in GitHub Desktop.
Save maxkostinevich/4888c6f3c4220bac1b4b4e2ec7ba9174 to your computer and use it in GitHub Desktop.
Fix navbar in-page anchor jumping
*[id]:before {
display: block;
content: " ";
margin-top: -75px;
height: 75px;
visibility: hidden;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment