Let the elements of the flexbox be displayed in reverse order and split when necessary :
display:flex;
flex-flow:row -reverse wrap;
##Effect preview
The number in the table indicates the version of the first browser that supports the attribute Number.
The number immediately following -webkit-, -ms- or -moz- is the first version that supports this prefix attribute.29.0 | 21.0 -webkit- | 11.010.0 -ms- | 28.018.0 -moz- | 9.06.1 -webkit- | 17.0
Default value: | row nowrap | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
##Inherited : | No|||||||||||
: No. See SS3 animation properties, | CSS3 animationexamples. | ||||||||||
CSS3 | |||||||||||
object | .style.flexFlow="column nowrap" Effect preview |
Value | Description |
---|---|
##flex-direction | Possible values:
row row-reverse column column-reverse initial inherit The default value is "row". Specifies the direction of flexible projects. |
flex-wrap | Possible values:
nowrap wrap wrap- reverse initial inherit The default value is "nowrap". Specifies whether flexible items should be split into rows or columns. |
Set this property to its default value. See | initial. |
Inherit this attribute from the parent element. See | inherit. |
The above is the detailed content of Detailed explanation of the CSS flex-flow property of the Flexible flexible box model. For more information, please follow other related articles on the PHP Chinese website!