CSS CSS Flexbox Layout Flexbox Properties Wrapping Items and Distributing Space

make a multi-line flex container

I've added the flex-direction: column; attribute as shown in a previous part of this course with no luck.

3 Answers

Elian Kloppenburg
Elian Kloppenburg
22,906 Points

Hi Todd,

The property that makes it a multi line container isn't flex direction, it's flex wrap. Flex direction just specifies the direction of the flex-items, horizontally of vertically.

Try it like this:

.row {
  display: flex;
  ---
}

Elian

Richard Targett
Richard Targett
4,960 Points

Im onto the second question in the challenge, its asking to become multi-line. What do you change to get that?

Richard Targett
Richard Targett
4,960 Points

Im onto the second question in the challenge, its asking to become multi-line. What do you change to get that?