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.
454
454
455
455
Use ` order-* ` props for controlling the visual order of your content. These props are responsive, so
456
456
you 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 ` .
458
458
459
459
``` html
460
460
<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 >
465
471
</b-row >
466
472
</b-container >
467
473
468
474
<!-- b-grid-order.vue -->
469
475
```
470
476
477
+ Ordering is controlled by flexbox's CSS style ` order ` .
478
+
471
479
### Offsetting columns
472
480
473
481
You 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