Skip to content

Instantly share code, notes, and snippets.

@hatefulcrawdad
Created February 28, 2013 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hatefulcrawdad/5057642 to your computer and use it in GitHub Desktop.
Save hatefulcrawdad/5057642 to your computer and use it in GitHub Desktop.
<!-- Button groups in Foundation 4 -->
<ul class="button-group">
<li><a href="#" class="small button">Button 1</a></li>
<li><a href="#" class="small button">Button 2</a></li>
<li><a href="#" class="small button">Button 3</a></li>
</ul>
<!-- Nav Bar Example -->
<div class="your-class">
<ul class="button-group">
<li><a href="#" class="button" data-dropdown="nav1">Nav 1</a></li>
<li><a href="#" class="button" data-dropdown="nav2">Nav 2</a></li>
<li><a href="#" class="button" data-dropdown="nav3">Nav 3</a></li>
</ul>
</div>
<!-- Make sure these are right above you body tag -->
<ul id="nav1" class="f-dropdown">
<li><a href="#">This is a link</a></li>
<li><a href="#">This is another</a></li>
<li><a href="#">Yet another</a></li>
</ul>
<ul id="nav2" class="f-dropdown">
<li><a href="#">This is a link</a></li>
<li><a href="#">This is another</a></li>
<li><a href="#">Yet another</a></li>
</ul>
<ul id="nav3" class="f-dropdown">
<li><a href="#">This is a link</a></li>
<li><a href="#">This is another</a></li>
<li><a href="#">Yet another</a></li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment