我的导航下拉菜单上的图标消失了
这是我遇到问题的导航链接
http://www.3dghosting.com/mucci -navigation/
当我将鼠标悬停在第二个下拉菜单上时,第二个下拉菜单上的图标将消失,
有人可以帮助我吗?
这是代码
#navigation-main li:hover ul li.tomatoes a:hover{
background:#737475 url(images/navs/tomatoes.png) no-repeat;
background-position:left;
color:#fff;
}
this is the link for the navigation that i am having a problem
http://www.3dghosting.com/mucci-navigation/
the icon on the second drop down menu will disappear when i mouse-over on the second drop down
can anyone help me with this?
this is the code
#navigation-main li:hover ul li.tomatoes a:hover{
background:#737475 url(images/navs/tomatoes.png) no-repeat;
background-position:left;
color:#fff;
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您已将背景图像设置为:hover。因此,当鼠标移动到第二个菜单时,图像就会消失。相反,设置容器的样式,但默认隐藏它,然后在悬停时显示它
You have the background image being set on :hover. Therefore when the mouse is moved to the second menu, the image disappears. Instead style the container, but have it hidden by default and then when hovering, have it displayed