The w3-flex-wrap class allows flex items to wrap to a new line.
Resize the browser window to see the result.
Wrapping Item 1
Wrapping Item 2
Wrapping Item 3
Wrapping Item 4