V
V
vasIvas2015-11-02 21:58:59
Sass
vasIvas, 2015-11-02 21:58:59

How to make it open only the desired sub-menu?

There is a menu in li of which one more menu is nested, in li of which one more is nested.
When I hover over the parent li, both the sub-menu and the sub-sub-menu open.
How can this be avoided? code pen

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Bochkov, 2015-11-03
@vasIvas

.nav-link-container:hover > ul{
    height: auto;
}

> learn css selectors.
js won't help here.

S
sergey, 2015-11-02
@zorro76

learn at least js/jquery

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question