
Richard Targett
4,960 PointsMulti line flex?
I tried :multi-flex
Didnt work. What am I doing wrong?
6 Answers

Jonathan Grieve
Treehouse Moderator 88,495 PointsTry using flex: flex-wrap property on your flex container. This will ensure your items go to a new line when it needs to :-)

Richard Targett
4,960 PointsIm still lost :\

Richard Targett
4,960 Points.row { display: flex; justify-content: center; }
I tried this and this:
flex: flex-wrap

Richard Targett
4,960 PointsNothing worked :[

Jonathan Grieve
Treehouse Moderator 88,495 PointsRight, my apologies,
I got this wrong just ever so slightly :)
The property you want to use is flex-wrap: wrap; where Flex-wrap is the property and wrap is the value
So you set your flex container context.
display: flex;
and then set flex-wrap like this
.row {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
My apologies, I just got mixed up :)

Richard Targett
4,960 PointsI always get stuck on these test :__(

Jonathan Grieve
Treehouse Moderator 88,495 PointsUse space-between to distribute the space between your flex items.
justify-content: space-between;