A
A
Alexander2020-11-29 13:16:38
css
Alexander, 2020-11-29 13:16:38

How to make a vertical menu with scrolling on the second and third level?

There is a menu with 3 levels of nesting.
If there are more elements on the second level than on the first, then the second level should be scrolled.
And then there should be a srkol of the third level.
When specifying overflow: auto for the second level, there is a scroll, but it cuts off the third level, or scrolls beyond the 3rd level.
It is necessary like this: https://yadi.sk/i/JkftfJ87ntN5_A
how to push the third level, and have scrolling by 2m?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xenonhammer, 2020-11-29
@xenonhammer

wang, that the third level is a child of the second, try to push it one level up the tree

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question