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 tableindicates the version of the first browser that supports theattributeNumber.
The number immediately following -webkit-, -ms- or -moz- is the first version that supports this prefix attribute.The flex-flow property is a composite property of the flex-directionand flex-wrap properties.
The flex-flow property is used to set or retrieve the arrangement of the child elements of theflexbox modelobject.
The flex-direction property specifies the direction of a flexible item.
The flex-wrap attribute specifies whether the flexible item should be split into rows or columns.
Note:If the element is not an element of the flexbox object, the flex-flow property has no effect.
29.0 | 21.0 -webkit- | 11.0
10.0 -ms- | 28.0
18.0 -moz- | 9.0
6.1 -webkit- | 17.0
flex-flow:flex-directionflex-wrap|initial|inherit;
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!