Skip to content

Instantly share code, notes, and snippets.

@hcarreras
Created March 13, 2013 22:47
Show Gist options
  • Save hcarreras/5157142 to your computer and use it in GitHub Desktop.
Save hcarreras/5157142 to your computer and use it in GitHub Desktop.
<h1>Catalog</h1>
<div class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown trigger</a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel" id="menu1">
<li class="dropdown-submenu">
<a class="dropdown-toggle" data-toggle="dropdown" tabindex="-1" href="#">Clothes</a>
<ul class="dropdown-menu" id="clothes">
<li class="dropdown-submenu" id="coats">Coats</li>
<li class="dropdown-submenu" id="shirts">Shirts</li>
<li class="dropdown-submenu" id="troussers">Troussers</li>
<li class="dropdown-submenu"id="tshirts">Tshirts</li>
</ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1" href="#">Electronics</a>
<ul class="dropdown-menu" id="electronics">
<li id="laptops">laptops</li>
<li id="phones">Phones</li>
</ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1" href="#">Home</a>
<ul class="dropdown-menu" id="home">
<li id="lamps">Lamps</li>
<li id="tables">Tables</li>
<li id="tv">TV</li>
</ul>
</li>
<li class="dropdown-submenu">
<a tabindex="-1" href="#">Sport</a>
<ul class="dropdown-menu" id="sport">
<li id="bikes">Bikes</li>
<li id="ski">Ski</li>
</ul>
</li>
</ul>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment