Skip to content

Instantly share code, notes, and snippets.

@webbyworks
Created September 25, 2014 11:58
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save webbyworks/fa5f44c74a7e83abe7d0 to your computer and use it in GitHub Desktop.
Create a responsive nav - here's the basic HTML structure.
<header>
<a href="/" class="logo">Me</a>
<a href="#showMenu" class="showMenu" id="showMenu"></a>
<a href="#hideMenu" class="hideMenu" id="hideMenu">×</a>
<nav class="main-nav">
<ul><li><a href="/my-link-1/">Link 1</a><li>
<li><a href="/my-link-2/">Link 2</a></li></ul>
</nav>
</header>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment