Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我浏览子菜单中的菜单选项时,如何保持顶部的菜单项(例如文件)保持突出显示?
这是一个粘贴箱: http: //pastebin.com/aGJh8nQa
为什么,当然有这个选择器!
#menu li:hover > a { background-color: rgb(216,216,216); }
在 JSFiddle 上查看