Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jackabox/905377a43f20910b46ff40302943e6cf to your computer and use it in GitHub Desktop.
Save jackabox/905377a43f20910b46ff40302943e6cf to your computer and use it in GitHub Desktop.
html {
scroll-behavior: smooth;
}
:target:before {
content: "";
display: block;
height: 100px;
margin: -100px 0 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment