Syntax
order
Changing the order of item in flex or grid container.
Overview
Class | Declarations |
---|---|
order:`value` | order: `value`;
|
order:0 | order: 0;
|
order:first | order: -999999;
|
order:last | order: 999999;
|
1
2
3
Apply conditionally
Apply styles based on different states using selectors and conditional queries.
<div class="order:1:hover order:1@sm order:1@dark order:1@print">…</div>