xxxxxxxxxx
1
<div class="container my-4">
2
3
<p class="font-weight-bold">Bootstrap flex grid is very helpful layout construction which extends the basic functionality of the bootstrap grid.</p>
4
5
<p><strong>Detailed documentation and more examples you can find in our <a href="https://mdbootstrap.com/docs/jquery/utilities/flexbox/"
6
target="_blank">Bootstrap Flexbox Docs</a> </p>
7
8
<hr>
9
10
<p class="font-weight-bold">Basic examples</p>
11
12
<!--Grid row-->
13
<div class="row d-flex justify-content-center border border-light my-4 py-4">
14
15
<!--Grid column-->
16
<div class="col-md-6 blue">
17
18
<p class="text-white">This grid construction use flexbox to center the grid column <code>.col-md-10</code>.</p>
19
20
</div>
21
<!--Grid column-->
22
23
</div>
24
<!--Grid row-->
25
26
<hr class="my-5">
27
28
<!--Grid row-->
29
<div class="row d-flex justify-content-center border border-light my-4 py-4">
30
31
<!--Grid column-->
32
<div class="col-md-10 teal">
33
34
<p class="text-white">This grid construction use flexbox to center the grid column <code>.col-md-10</code> .</p>
35
36
</div>
37
<!--Grid column-->
38
39
</div>
40
<!--Grid row-->
41
42
</div>
1
1
1
1
Console errors: 0