Stack Overflow
  1. 首页
  2. 工具
  3. 网站转让
  1. 首页
    1. 导航
    2. 问题
    3. 标签
    1. Teams
      Stack Overflow for Teams – Start collaborating and sharing organizational knowledge. Create a free Team Why Teams?
    2. Teams
    3. Create free Team
Collectives on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more

html - 将鼠标悬停在下拉列表中的子项上时,保持对父项的突出显示

翻译自:https://stackoverflow.com/questions/13741635 2012-12-06T10:29:25.717
64 次
This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.

我正在研究一个下拉菜单,我希望我的父母<a>在我搬到一个孩子时“保持它的颜色” <a>。

我知道如何通过将鼠标悬停在我<li>的上面来做到这一点,例如: ul#nav li:hover > a。但这在这里行不通,因为我只想将鼠标悬停在我<a>的...

希望你能理解我的问题

这是我的 jsfiddle:http: //jsfiddle.net/F623k/7/

htmlcssdrop-down-menumenu
4

1 回答 1

This answer is useful
0
于 2012-12-06T10:33:16.740 回答

Related

1
java - Runtime.getRuntime().exec 上的错误
1
google-maps - 如何将标记添加到地图(Google JS api、Leaflet 或 Mapbox)?
0
php - PHP登录表单不起作用
0
joomla3.1 - 使用 Wright 下拉菜单的 Joomla 3.0 不起作用
4
javascript - 如何继承祖父母CSS而不是父母?
3
mongodb - 如何在mongodb中聚合查询
1
ruby-on-rails - 如何在 Rails 中为 options_for_select 的选项添加数据字段?
2
html - 在ie8中隐藏一个iframe
2
javascript - 平滑滚动 css 代码到 div 标签
4
c - 确定 FILE * 是否可写

Reference

php × 1429865
c/c++ × 756500
nginx × 49975
mongodb × 159057
mybatis × 3233
anaconda × 13410
pycharm × 14671
python × 1902243
vscode × 56040
docker × 110988
github × 49000
flask × 49129
ffmpeg × 24037
jmeter × 16910
matplotlib × 63493
bootstrap × 54641
Stack Overflow 中文网

遵从 CC BY-SA 知识共享许可协议。