order
order
The CSS order
property specifies the order used to lay out flex items in their flex container. Elements are laid out in the ascending order of the order
value. Elements with the same order
value are laid out in the order in which they appear in the source code.
Note: order
is only meant to affect the visual order of elements and not their logical or tab order. order
must not be used on non-visual media such as speech.
Initial value | 0 |
---|---|
Applies to | flex items and absolutely-positioned flex container children |
登录查看完整内容
|