简体   繁体   中英

menu with sub-menu hover-over effect

I have the following lines in my website - http://codepen.io/anon/pen/LhDnu/ that creates a sidebar menu.

As the user hovers their mouse over a parent, listed item with child-links within it, a sub-menu appears.

However, when the mouse moves over to select one of the child-links, it removes the sub-menu listed items.

How can I modify the codepen above so that it will allow the user to select one of the sub-menu items?

Here is a working code for you, in css dropdown menus try to work with display:none & display:block not with the opacity

http://codepen.io/anon/pen/luGDK/

Nevermind. Here is the solution - http://codepen.io/anon/pen/LzpyK/ .

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM