box
英[bɒks] 美[bɑ:ks]
n.Box; box-like object; box; sentry room
vt. Put... into a box [box, box]
vt.& vi.Boxing
Third person singular: boxes Plural: boxes Present participle: boxing Past tense: boxed Past participle: boxed
ordinal
UK[ˈɔ:dɪnl] US[ˈɔ:rdənl]
n.Ordinal; comparison
adj .
plural of ordinals: ordinals
group
英[gru:p] 美[ɡrup]
n.group , group; group, batch; (sculpture, etc.) group portrait; (British and American) air force brigade
vt.& vi. to form a group, to gather
vt. to classify, to classify
Third person singular: groups Plural: groups Present participle: grouping Past tense: grouped Past participle: grouped
css box-ordinal-group property syntax
Function: Specifies the display order of sub-elements in the box.
Syntax: box-ordinal-group: integer;
Description: integer An integer indicating the display order of child elements.
Note: Group elements with the same value, their display order depends on their source order. No browser currently supports the box-ordinal-group attribute. Firefox supports an alternative -moz-box-ordinal-group property. Safari and Chrome support an alternative -webkit-box-ordinal-group property.
css box-ordinal-group property example
<!DOCTYPE html> <html> <head> <style> .box { display:-moz-box; /* Firefox */ display:-webkit-box; /* Safari and Chrome */ display:box; border:1px solid black; } .ord1 { margin:5px; -moz-box-ordinal-group:1; /* Firefox */ -webkit-box-ordinal-group:1; /* Safari and Chrome */ box-ordinal-group:1; } .ord2 { margin:5px; -moz-box-ordinal-group:2; /* Firefox */ -webkit-box-ordinal-group:2; /* Safari and Chrome */ box-ordinal-group:2; } </style> </head> <body> <div class="box"> <div class="ord2">第一个 DIV</div> <div class="ord1">第二个 DIV</div> <div class="ord1">第三个 DIV</div> </div> <p><b>注释:</b>IE 或 Opera 不支持 box-ordinal-group 属性。</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance