1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | <div class="bx--grid">
|
9 | <div class="bx--row">
|
10 | <div class="bx--col-xs-12 bx--col-sm-6 indigo">
|
11 | <div class="bx--row">
|
12 | <div class="bx--col-xs-12 bx--col-sm-6">
|
13 | <div class="col-example">
|
14 | <p>Content space for bx--col-xs-12 bx--col-sm-6</p>
|
15 | </div>
|
16 | </div>
|
17 | <div class="bx--col-xs-12 bx--col-sm-6 green">
|
18 | <p>Full space for bx--col-xs-12 bx--col-sm-6 (columns naturally have padding on them, adding a background color to
|
19 | the column directly will effect the entire column, as opposed to using a child element in the example to the
|
20 | left). </p>
|
21 | </div>
|
22 | </div>
|
23 |
|
24 | <p>Columns also expand to match the vertical size of the rest of the row (see red column)</p>
|
25 | </div>
|
26 | <div class="bx--col-xs-12 bx--col-sm-6 red">
|
27 | <p>Background color over entire column, not just content space</p>
|
28 | </div>
|
29 | <div class="bx--row">
|
30 | <div class="bx--offset-xs-2 bx--col-xs-10">This content is offset. Offset adds a left-margin for x columns.</div>
|
31 | </div>
|
32 | </div>
|
33 | </div>
|