CSS3 order Property
To specify the order of items within the flex-box
Definition and Notes.
1. The CSS3 order property is used to set the order in which the elements are laid out in the flex container. Values must be an Integer (positive and negative), the default value of all elements is 0
2. Elements with same value are displayed in the order in which they appear in the HTML markup. Elements with the least value is displayed first. Hence, negative values are used.
CSS order property.
View in Splitscreen»
Code-Editor:Note- The order of all the flex items are 0 by default.
|<number>||Number denotes the order of items within the flex-box.Values must be an Integer (positive and negative), the default value of all elements is 0|
|Applies to||flex items and absolutely positioned children of flex-containers|
|Computed Value||Same as declared value.|