flex-wrap: nowrap;

Default is nowrap and all items will try to fit onto one line.

 

flex-wrap: nowrap | wrap | wrap-reverse;

 

  • wrap - items will wrap onto multiple lines from top to bottom.
  • wrap-reverse -┬áitems will wrap onto multiple lines from bottom to top.

Leave a Reply

Your email address will not be published. Required fields are marked *