+ 3
Whats wrong with this simple code ? Plz help me
ul li a { display:block; } ul li a:hover{ background-color:green; } ul li ul li { display:none; } ul li:hover ul li { display:block ; } with this code im not getting navigation barsđ submenu hidden under main menu. đ plz help or tell me different method for creating nav bar with hover effect .
1 Answer
0
try this:
ul li a:hover{
background-color:green;
}
ul li ul li {
display:none;
}
ul li:hover ul li ul li{
display:block ;
}
hope it works! :)