Order
noun
say it: “OR-der” /ˈɔrdər/
The CSS property that changes where a flex or grid item shows up without changing the HTML. Screen readers and the Tab key still follow the HTML order.
What does order do in Flexbox or Grid?
order changes the visual order of items without changing the HTML. Screen readers still use the HTML order, so use it sparingly.
.featured { order: -1; } /* shows first */
In a sentence
- “On phones, the special offer gets order: -1, so it shows first.”
Level: Journeyman · More CSS terms at this level
Updated