CSS flex-wrap property
Browser support · legacy reference
ChromeFully supports
SafariFully supports
FirefoxFully supports
Internet ExplorerFully supports
EdgeFully supports
OperaFully supports
Description
CSS flex-wrap determines whether the content flows across one line or multiple lines and direction of cross-axis. The cross-axis determines the direction in which new lines are stacked in.
Syntax
flex-wrap : nowrap | wrap | wrap-reverse
Property values
wrap-reverse
-
The content flows across multiple lines and the lines are stacked in reverse order i.e. the cross-axis is reversed.
- Try it
flex-wrap: wrap-reverse;
Applicable to
It applies to flex containers.