Use the flex-wrap Property to Wrap a Row or Column
Summary
- The
flex-wrap
property can be used to wrap eleemnts to a new column or row. nowrap
: this is the default setting, and does not wrap items. wrap
: wraps items onto multiple lines from top-to-bottom if they are in rows and left-to-right if they are in columns. wrap-reverse
: wraps items onto multiple lines from bottom-to-top if they are in rows and right-to-left if they are in columns.
Final Code