Order
The CSS order property specifies the visual ordering of flex or grid items within their container.
Web Design Playground
A CSS flexbox property that determines the visual ordering of flex items within a flex container.
- How it is used
- Changes a flex item’s visual position within its container.
- How deep it goes
- Gives the CSS rule for order but does not detail how particular values affect placement.
- Examples
- Shows the rule `item { order: value; }` as a template.
- What you can do after
- Operate/configure it by setting the CSS order property on a flex item.
Web Design Playground, Second Edition
The CSS order property specifies the ordering position of a flex item within its flex container.
- How it is used
- Changes a flex item's ordering position within its container.
- How deep it goes
- Gives item-level syntax and illustrates different values, without spelling out a numeric ordering algorithm.
- Examples
- Shows `item { order: value; }` and a figure comparing the effects of different order values.
- What you can do after
- Operate/configure it by assigning an order value to a CSS flex item.
Read how Web Design Playground, Second Edition explains order →
Also covered in
What to know first
- flex containerA flex container is an element whose children are laid out as flex items according to the CSS Flexible Box Layout model.
- main axisThe main axis is the primary direction in which a flex container arranges and distributes its flex items.
Related concepts
- flex itemconfigures · A flex item is a child of a flex container that participates in its flexible layout.
- CSS source orderuses · CSS source order is the relative ordering of declarations that determines which declaration prevails when competing declarations have equal cascade precedence.
- Order propertykind of · An order property is information or a relation that specifies the relative position, precedence, or sequence of elements, events, or operations.
Questions about order
What is order?
The CSS order property specifies the visual ordering of flex or grid items within their container.
Which Manning books explain order?
Web Design Playground and Web Design Playground, Second Edition.
What should I know before learning order?
Manning books that teach order usually introduce flex container and main axis first.
What is order a kind of?
Order is a kind of Order property. An order property is information or a relation that specifies the relative position, precedence, or sequence of elements, events, or operations.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

