Yashnaverma (Talk | contribs) |
Yashnaverma (Talk | contribs) |
||
Line 4: | Line 4: | ||
<style> | <style> | ||
− | .dropdown{ | + | .dropdown { |
z-index: 9999; | z-index: 9999; | ||
+ | |||
} | } | ||
+ | |||
+ | #wnm-top-nav ul { | ||
+ | margin: 0 0 0 0; | ||
+ | } | ||
+ | #wnm-top-nav li { | ||
+ | margin: 0 0 0 0; | ||
+ | } | ||
+ | |||
+ | #wnm-top-nav li { | ||
+ | display: inline-block; | ||
+ | } | ||
+ | #wnm-top-nav li:hover { | ||
+ | background: #ECECEC; | ||
+ | } | ||
+ | #wnm-top-nav li:hover ul { | ||
+ | display: block; | ||
+ | } | ||
+ | #wnm-top-nav li ul { | ||
+ | position: absolute; | ||
+ | width: 150px; | ||
+ | display: none; | ||
+ | font-size: 15px; | ||
+ | } | ||
+ | #wnm-top-nav li ul li { | ||
+ | background: #ECECEC; | ||
+ | display: block; | ||
+ | } | ||
+ | #wnm-top-nav li ul li a {display:block !important;} | ||
+ | #wnm-top-nav li ul li:hover {background: #E8E8E8;} | ||
</style> | </style> | ||
Line 19: | Line 49: | ||
<ul class="nav navbar-nav navbar-right"> | <ul class="nav navbar-nav navbar-right"> | ||
<li class="active"><a href="https://2018.igem.org/Team:William_and_Mary">Home</a></li> | <li class="active"><a href="https://2018.igem.org/Team:William_and_Mary">Home</a></li> | ||
− | <li class="dropdown"><a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#">Project<span class="caret"></span></a> | + | <li class="dropdown"><a id = "wnm-top-nav" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#">Project<span class="caret"></span></a> |
<ul class="dropdown-menu"> | <ul class="dropdown-menu"> | ||
<li><a href="#">Freezing Cells</a></li> | <li><a href="#">Freezing Cells</a></li> |
Revision as of 15:03, 5 July 2018