CSS Style for Navbar
.navbar li {
color: #B7B7B7;
font-family: 'Montserrat', sans-serif;
font-size: 14px;
min-width: 70px;
padding: 22px 16px 18px;
}
.navbar #menumain ul {
width: 120%;
}
.navbar ul ul {
display: none;
}
<div class="navbar">
<li id="menumain">
Menu1main
<ul>
<a href="/">
<li>Menu2</li>
</a>
</ul>
</li>
</div>
How can we use :hover to change the style of navbar ul ul
from display:none to display:block?
How do we implement a hover effect in CSS to toggle between display:none and display:block for navbar ul ul
?