Answer the question
In order to leave comments, you need to log in
How to make flexbox push higher?
There is such a menu: prntscr.com/e6zkt2
The parent is set to:
display: flex;
flex-wrap: wrap;
flex-direction: column
and everything is fine, but there is a menu where there are few items, and instead of being located horizontally and not stretching the menu vertically, all the items fall out into a column and stretch the menu. prntscr.com/e6zqqbAnswer the question
In order to leave comments, you need to log in
Set column-count
-moz-column-count: 3;
-webkit-column-count: 3;
column-count: 3;
align-items: flex-start;
- Alignment along the secondary axis. By default, it stretches to the entire axis (stretch) UPD
-
flex-start for the case withflex-direction: row;
justify-content
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question