Home > Back-end >  problems opening horizontal menu
problems opening horizontal menu

Time:08-09

I have a problem with part of the html and css code
I am working on a menu that has children. Unfortunately, this child cannot be opened by holding the mouse over it. I have put the html & css code inside the website site so that friends can give a proper guide.

[https://codepen.io/croner2/pen/vYRrpMg][1]

CodePudding user response:

The below code was missing, where we make the dropdown ul tag visible on hover!

#mainNavigation nav.desktop ul li.dropdown:hover ul {
  visibility: visible;
  opacity:1;
}

codepen

  • Related