flex-wrap
Anonymous contributor
Anonymous contributor3077 total contributions
Anonymous contributor
Published Jul 23, 2021Updated Sep 3, 2021
Contribute to Docs
A property that specifies if elements will occupy multiple lines and the direction in which the items are distributed.
Syntax
#element-container {display: flex;flex-wrap: <wrap-value>;}
The <wrap-value>
can be one of three options:
wrap
nowrap
wrap-reverse
Example 1
Content that does not utilize multiple lines:
#spam-container {display: flex;flex-direction: row;flex-wrap: nowrap;}
All contributors
- Anonymous contributorAnonymous contributor3077 total contributions
- Anonymous contributorAnonymous contributor92 total contributions
- christian.dinh2481 total contributions
- Anonymous contributor
- Anonymous contributor
- christian.dinh
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.