Order
Set the order for flex & grid items.
Widely available
This feature is well established and works across many devices and browser versions.
Chrome
Edge
Firefox
Safari
Usage
A
B
C
<div class="d-f jc-sb c-white"> <div class="ai-c bg-indigo d-f d-16 jc-c or-f">A</div> <div class="ai-c bg-indigo d-f d-16 jc-c">B</div> <div class="ai-c bg-indigo d-f d-16 jc-c or-l">C</div></div>Responsive Design
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:or-[value]Small≥640px
md:or-[value]Medium≥768px
lg:or-[value]Large≥1024px
xxl:or-[value]Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:or-[value]Negative Values
Use negative variants to apply negative order values.
Use the -- syntax to apply negative numeric values.
Syntax:
or--[value]