D
D
Dvorak2016-02-13 22:43:58
css
Dvorak, 2016-02-13 22:43:58

Why is flex-box wrapping wrong?

codepen.io/anon/pen/MKLBxv Big
text and small text are supposed to wrap to the next line, but they don't. With this flex-wrap indicated. Where is the mistake?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mechanic, 2016-02-13
@allishappy

Instead of flex-wrap for #first, add flex-flow: column wrap;
codepen.io/anon/pen/vLbzgY
And this is completely useless there:

#wrap {
  flex-wrap: wrap;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question