A
A
Alex666Devil2015-09-24 12:08:34
css
Alex666Devil, 2015-09-24 12:08:34

How to expand all submenus?

How to make all submenus and child elements open at once when hovering over the main menu item? Maybe it's not quite clear described .... here's an example: prosuperfamily.ru when you hover over the menu item Man - first one submenu pops up, then when you hover over this submenu - a child element leaves. But how to arrange that when you click on the menu item Man, all submenus with children are opened at once?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
Gregory, 2015-09-24
@grigruss

nav .sub-item{display:none;}

<nav>
<div class="item">НОВОСТЬ<div class="sub-item">ВЛОЖЕННАЯ НОВОСТЬ</div></div>
</nav>

pure principle.

M
Maxim Timofeev, 2015-09-24
@webinar

.FirstLevel class:hover ul {display:block;}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question