Answer the question
In order to leave comments, you need to log in
Does anyone know how to display elements under each other in Flex?
Good afternoon, I need to set up the display of blocks inside the flex so that they adjoin each other without gaps:
Elements, as in the example, will be of different heights, as in the example - a maximum of 5 in a row, then the next line, then the next, etc. The problem is that no matter what align-items and align-content settings I apply, it still doesn't work out as I need. How to be here, who will tell?
https://jsfiddle.net/kamaev/bbbzdjuz/?utm_source=w...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question