Skip to content

Commit 7e978e8

Browse files
committed
[css-display-3] Improve intro to 'order'.
1 parent 412a20a commit 7e978e8

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

css-display-3/Overview.bs

+10-4
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,6 @@ Toggling Box Generation: the 'display-or-not' property</h2>
951951
<h2 id='order-property'>
952952
Display Order: the 'order' property</h2>
953953

954-
Boxes are generally displayed and laid out in the same order as they appear in the source document.
955-
In some layout modes, the 'order' property can be used to change this ordering.
956-
957954
<pre class='propdef'>
958955
Name: order
959956
Value: <<integer>>
@@ -968,7 +965,16 @@ Display Order: the 'order' property</h2>
968965
flexible-order.html
969966
</wpt>
970967

971-
The 'order' property controls the order in which
968+
Boxes are generally displayed and laid out
969+
in the same order as they appear in the source document.
970+
In some [=formatting contexts=],
971+
the 'order' property can be used to rearrange the order of boxes
972+
to deliberately create a divergence
973+
of the logical order of elements
974+
and their spatial arrangement on the 2D visual canvas.
975+
976+
Specifically,
977+
the 'order' property controls the order in which
972978
[=flex items=] or [=grid items=] appear within their container,
973979
by assigning them to ordinal groups.
974980
It takes a single <dfn value for=order><<integer>></dfn> value,

0 commit comments

Comments
 (0)