css – Adding dropdown to Li nav html


so I have this:

<ul class="nav-menu list-unstyled">
      <li><a href="#header" class="smoothScroll">Home</a></li>
      <li><a href="#about" class="smoothScroll">About</a></li>
      <li><a href="#services" class="smoothScroll">Services</a></li>
      <li><a href="#contact" class="smoothScroll">Contact</a></li>
</ul>

it’s as simple as it gets. But what I want to do is add a hoverable dropdown to the about <li> tag, so i can have options such as Team, etc.

I have never done this before, and am a little bit inexperienced in this section, so I am hoping someone can help me!
Thanks:)



Source link

Latest articles

Related articles

Leave a reply

Please enter your comment!
Please enter your name here