CSS CSS Flexbox Layout Flexbox Properties Wrapping Flex Items

flex-wrap not working for me

I am trying workspace with the following code but it doesn't work

.container{
  display: flex;
  flex-wrap:wrap;
  flex-direction:column;
  transition:all;
  height:50px;
}

1 Answer

Steven Parker
Steven Parker
182,578 Points

I don't see anything wrong with this bit of code, you might need to share your complete project to demonstrate the issue. You can do that easily if you make a snapshot (note: not "screenshot") of your workspace and post the link to it here.

Also, have you seen these additional fun learning resources for flexbox?

Adam Fajder
Adam Fajder
5,182 Points

Steven Parker oh man this flexbox zombies is a true gem! Thanks for this!

Steven Parker
Steven Parker
182,578 Points

Now every time you work with flexbox, you'll picture that laser-aimed crossbow. :wink: