Skip to content

Instantly share code, notes, and snippets.

@timwasson
Last active December 14, 2015 15:48
Show Gist options
  • Save timwasson/5110316 to your computer and use it in GitHub Desktop.
Save timwasson/5110316 to your computer and use it in GitHub Desktop.
The world's easiest sticky top-menu with links that highlight. Just give your nav a class of "topmenu", and your individual sections a class of "section", and link to the ID of the element you want to scroll to.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment