Reputation: 1351
When I hover at submenu items: LUNCH MENU/DINNER MENU, is there a way that the 'MENUS' remain at this style :(background color: #666699, color: white)
I tried to solve it but to no avail. Can anyone give me some idea on how to implement this? I have included the jsfiddle link at the comment.
http://jsfiddle.net/tangjeen/je24e85w/#base
Thanks.
Upvotes: 1
Views: 111
Reputation: 6081
try this:
.nonDropDown li:hover>a {
background: blue;
color: #fff !important;
}
Upvotes: 1
Reputation: 467
You could use this: http://jsfiddle.net/je24e85w/2/
#menu:hover > * { background-color: #666699; color: white; }
This css will make it so when you hover #menu, it and it's children will get the correct hover styles.
Upvotes: 1