I'm having trouble getting the dropdown to work when hovering over the li
element with "portfolio" in the text. The code seems correct, but nothing happens when I try to hover over "Portfolio."
Below is the code snippet:
#navmenu ul {
position: absolute;
visibility: hidden;
top: 30px;
}
#navmenu .hoverme:hover ul {
visibility: visible;
}
<div id="wrapper">
<div id="navmenu">
<div class="hoverme"><a href="#">Portfolio</a>
<ul>
<li><a href="#">Reviews</a>
</li>
<li><a href="#">Appendix</a>
</li>
<li><a href="#">Team</a>
</li>
<li><a href="#">Company</a>
</li>
<li><a href="#">Individual</a>
</li>
<li><a href="#">Cert of Att</a>
</li>
<li><a href="#">Skills Prof</a>
</li>
<li><a href="#">Csmr Visits</a>
</li>
<li><a href="#">Income</a>
</li>
<li><a href="#">Roles</a>
</li>
</ul>
</div>
</div>
</div>
Can anyone see why it's not working? Any help would be greatly appreciated.