@@ -450,8 +450,15 @@ each tier as needed. See the example below for a better idea of how it all works
450
450
451
451
Use flexbox alignment utilities to vertically and horizontally align columns.
452
452
453
+ ** Note:** Internet Explorer 11 does not support vertical alignment of flex items when the flex
454
+ container has a ` min-height ` as shown below.
455
+ [ See Flexbugs #3 for more details] ( https://github.com/philipwalton/flexbugs#flexbug-3 ) .
456
+
453
457
### Vertical alignment
454
458
459
+ For vertical alignment of all grid cells in a row, use the ` align-v ` prop on ` <b-row> ` . Possible
460
+ values are ` 'start' ` , ` 'center' ` , ` 'end' ` , ` 'baseline' ` , and ` 'stretch' ` :
461
+
455
462
``` html
456
463
<b-container class =" bv-example-row bv-example-row-flex-cols" >
457
464
<b-row align-v =" start" >
@@ -471,25 +478,47 @@ Use flexbox alignment utilities to vertically and horizontally align columns.
471
478
<b-col >One of three columns</b-col >
472
479
<b-col >One of three columns</b-col >
473
480
</b-row >
481
+
482
+ <b-row align-v =" baseline" >
483
+ <b-col style =" font-size : 0.75rem ;" >One of three columns</b-col >
484
+ <b-col >One of three columns</b-col >
485
+ <b-col style =" font-size : 1.25rem ;" >One of three columns</b-col >
486
+ </b-row >
487
+
488
+ <b-row align-v =" stretch" >
489
+ <b-col >One of three columns</b-col >
490
+ <b-col >One of three columns</b-col >
491
+ <b-col >One of three columns</b-col >
492
+ </b-row >
474
493
</b-container >
475
494
476
495
<!-- b-grid-vertical-alignment.vue -->
477
496
```
478
497
498
+ For individual grid cell vertical alignment, use the ` align-self ` prop on ` <b-col> ` . Possible values
499
+ are ` 'start' ` , ` 'center' ` , ` 'end' ` , ` 'baseline' ` , and ` 'stretch' ` :
500
+
479
501
``` html
480
502
<b-container class =" bv-example-row bv-example-row-flex-cols" >
481
503
<b-row >
482
504
<b-col align-self =" start" >One of three columns</b-col >
483
505
<b-col align-self =" center" >One of three columns</b-col >
484
506
<b-col align-self =" end" >One of three columns</b-col >
485
507
</b-row >
508
+ <b-row >
509
+ <b-col align-self =" baseline" >One of two columns</b-col >
510
+ <b-col align-self =" stretch" >One of two columns</b-col >
511
+ </b-row >
486
512
</b-container >
487
513
488
514
<!-- b-grid-align-self.vue -->
489
515
```
490
516
491
517
### Horizontal alignment
492
518
519
+ To horizontally align grid cells within a row, use the ` align-h ` prop on ` <b-row> ` . Possible values
520
+ are: ` 'start' ` , ` 'center' ` , ` 'end' ` , ` 'around' ` , and ` 'between' ` :
521
+
493
522
``` html
494
523
<b-container class =" bv-example-row" >
495
524
<b-row align-h =" start" >
0 commit comments