G
G
gleendo2016-06-23 19:01:15
css
gleendo, 2016-06-23 19:01:15

How to fix the flyout of a menu item in full height?

In general, I tried to make up a menu that looked something like:
olios.png
Well, it looks like it, but I think the technical implementation is through one place, I doubt the layout is correct.
Here's what happened:
f67195d773674b138a9657703a293067.png
But when changing the height, the menu itself does not press to the bottom, it looks dumb.
c9f8139238f5480d8428895d53c72d39.png
How to fix this, or how to make such a menu in general?
Link to codepen
I've been sitting for 4782734895723 days studying layout, but I can't learn how to layout normally, I don't know everything all the time. And the stopper even on such demos ((

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
HamSter, 2016-06-23
@HamSter007

What prevents the menu from setting

position: fixed\absolute; top: 0; bottom: 0; left: 0; width: 50px;
?

V
Vadim, 2016-06-23
@zomik

main-nav
min-height: 100%;
display:table;
height: 100vh;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question