Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

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?