D
D
dom1n1k2015-12-24 21:31:49
css
dom1n1k, 2015-12-24 21:31:49

How to add manual wrapping to flexbox?

Is it possible in flexbox to force the Nth child element to collapse onto a new line, even if it has enough space on the previous line? Roughly speaking, we need an analogue <br>.
As far as I know, the specification does not provide for this (and this I consider the main drawback of flexbox, in addition to a few more smaller ones). But maybe the people contrived and came up with some kind of crutch?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MhMadHamster, 2015-12-25
@MhMadHamster

codepen.io/anon/pen/wMzroY the only thing that can only be transferred 2 times this way for obvious reasons

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question