css navbar dropdown submenu onhover code example
Example 1: Dropdown menu HTML
<select id="gender">
<option value="male"> Male </option>
<option value="female"> Female</option>
</select>
Example 2: bootstrap hover dropdown
...
<div class="collapse navbar-collapse" data-hover="dropdown" data-animations="fadeInDown fadeInRight fadeInUp fadeInLeft>
<ul class="nav navbar-nav">
...
</ul>
</div>
...
or
...
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav" data-hover="dropdown" data-animations="fadeInDown fadeInRight fadeInUp fadeInLeft>
...
</ul>
</div>
...