Last active
December 17, 2015 12:48
-
-
Save danshearmur/5611968 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<link href="bootstrap.css" rel="stylesheet"/> | |
<style> | |
#expanded:target .nav-collapse { | |
height: auto; | |
} | |
</style> | |
</head> | |
<body id="expanded"> | |
<div class="navbar"> | |
<div class="navbar-inner"> | |
<!-- navbar button to toggle the display of nav elements --> | |
<a class="btn btn-navbar" href="#expand"> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</a> | |
<div class="nav-collapse collapse"> | |
<!-- actual nav items --> | |
</div> | |
</div> | |
</div> | |
<!-- rest of the site --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment