M
M
MRcracker2019-05-18 12:40:52
Layout
MRcracker, 2019-05-18 12:40:52

How to transfer list?

There is a list. How to make it so that if the number of li does not fit on the screen, then all li that do not fit go to a new line, and those that fit remain on the previous line? It is desirable that the solution be using flexbox. Thank you all for your replies))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shohruh Shaimardonov, 2019-05-18
@MRcracker

ul {
 display: flex;
 flex-flow: row wrap
}

Just

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question