File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -454,20 +454,28 @@ Use flexbox alignment utilities to vertically and horizontally align columns.
454454
455455Use ` order-* ` props for controlling the visual order of your content. These props are responsive, so
456456you can set the order by breakpoint (e.g., ` order="1" order-md="2" ` ). Includes support for 1 through
457- 12 across all five grid tiers.
457+ 12 across all five grid tiers. ` <b-col> ` defaults to an order value of ` 0 ` .
458458
459459``` html
460460<b-container fluid class =" bv-example-row" >
461- <b-row >
462- <b-col >First, but unordered</b-col >
463- <b-col order =" 12" >Second, but last</b-col >
464- <b-col order =" 1" >Third, but first</b-col >
461+ <b-row class =" mb-3" >
462+ <b-col >First in DOM, no order applied</b-col >
463+ <b-col order =" 5" >Second in DOM, with a larger order</b-col >
464+ <b-col order =" 1" >Third in DOM, with an order of 1</b-col >
465+ </b-row >
466+
467+ <b-row class =" mb-3" >
468+ <b-col order =" 6" >First in DOM, with order of 6</b-col >
469+ <b-col order =" 1" >Second in DOM, with an order of 1</b-col >
470+ <b-col >Third in DOM, no order applied</b-col >
465471 </b-row >
466472</b-container >
467473
468474<!-- b-grid-order.vue -->
469475```
470476
477+ Ordering is controlled by flexbox's CSS style ` order ` .
478+
471479### Offsetting columns
472480
473481You can offset grid columns in two ways: our responsive ` offset-* ` props or the
You can’t perform that action at this time.
0 commit comments