I'm working on the following site and cannot figure out how to make the menu items background a different color on hover: http://tinyurl.com/q87z34o
I'm using the following CSS and it is not working:
.menu-dropdown a.level1 > span,
.menu-dropdown span.level1 > span:hover {color:#000;}
I'ms sure that I'm missing some small, but it's alluding me. Any help would be greatly appreciated.
.menu-dropdown a.level1 > span:hover,
.menu-dropdown span.level1 > span:hover {color:#000;}
Adding :hover to both spans did the trick.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.