-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathflexbox.html
662 lines (646 loc) · 44.1 KB
/
flexbox.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
---
layout: default
title: Flex Box
subnav:
- Container
- Items
---
<p class="m-b-4-xs">Flexbox is perfect for aligning items inside components. It typically isn't used for large scale layouts but for smaller parts of a page or component. All of the flex box utility classes can be used with our breakpoint suffixes. In some cases, adding an auto margin to a side is needed to align content. In that case, check out <a href="layout.html">auto margins</a>.</p>
<section id="Container">
<h2 class="m-b-1-xs">Flex Container</h2>
<p class="m-b-3-xs">This is the parent of the items that will be laid out using flex box.</p>
<h3 class="m-b-1-xs">Display</h3>
<p class="m-b-1-xs">Defines the flex container and enables a flex context for all of its direct children. To apply this to a container with block, use <code>.flex-block-xs</code>. To apply it with inline, use <code>.flex-inline-xs</code></p>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs">
<!-- Children -->
</div>
<div class="flex-inline-xs">
<!-- Children -->
</div></code></pre>
</div>
<h3 class="m-b-1-xs">Flex Direction</h3>
<p class="m-b-2-xs">This establishes the main-axis, which defines the direction items are palces in the container. Flex lays out in a single direction, either horizontal or vertical.</p>
<table class="table-border-rows m-b-2-xs">
<thead>
<tr>
<th>Class</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>.flex-row-xs</code></td>
<td>(Default) Left to right</td>
</tr>
<tr>
<td><code>.flex-row-reverse-xs</code></td>
<td>Right to left</td>
</tr>
<tr>
<td><code>.flex-column-xs</code></td>
<td>Same as <code>.flex-row-xs</code> but top to bottom</td>
</tr>
<tr>
<td><code>.flex-column-reverse-xs</code></td>
<td>Same as <code>.flex-row-reverse-xs</code> but bottom to top</td>
</tr>
</tbody>
</table>
<div class="flex-block-xs border-xs p-1-xs">
<div class="border-dark-xs text-center-xs m-r-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-r-05-xs" style="width: 50px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-r-05-xs" style="width: 50px; height: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs" style="width: 50px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="flex-block-xs flex-column-xs border-xs border-none-t-xs p-1-xs">
<div class="border-dark-xs text-center-xs m-b-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-b-05-xs" style="width: 50px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-b-05-xs" style="width: 50px; height: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs" style="width: 50px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs border-xs p-1-xs">
<div class="border-dark-xs text-center-xs m-r-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-r-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-r-05-xs">3</div>
<div class="border-dark-xs text-center-xs">4</div>
</div>
<div class="flex-block-xs flex-column-xs border-xs border-none-t-xs p-1-xs">
<div class="border-dark-xs text-center-xs m-b-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-b-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-b-05-xs">3</div>
<div class="border-dark-xs text-center-xs">4</div>
</div></code></pre>
</div>
<h3 class="m-b-1-xs">Flex Wrap</h3>
<p class="m-b-2-xs">Flex items will all fit into one line by default. To change that behavior and allow them to wrap, you'll need to add some properties. Flex direction plays a role here by defining the direction new line are stacked.</p>
<table class="table-border-rows m-b-2-xs">
<thead>
<tr>
<th>Class</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>.flex-nowrap-xs</code></td>
<td>(Default) Single-line with no wrapping</td>
</tr>
<tr>
<td><code>.flex-wrap-xs</code></td>
<td>Multi-line from left to right</td>
</tr>
<tr>
<td><code>.flex-wrap-reverse-xs</code></td>
<td>Multi-line from right to left</td>
</tr>
</tbody>
</table>
<div class="flex-block-xs flex-wrap-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 350px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 350px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 350px; height: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 350px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="flex-block-xs flex-wrap-reverse-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 350px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 350px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 350px; height: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 350px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs flex-wrap-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
<div class="border-dark-xs text-center-xs m-05-xs">4</div>
</div>
<div class="flex-block-xs flex-wrap-reverse-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
<div class="border-dark-xs text-center-xs m-05-xs">4</div>
</div></code></pre>
</div>
<h3 class="m-b-1-xs">Justify Content</h3>
<p class="m-b-2-xs">This defines the alignment along the main axis and helps distribute space around the flex items.</p>
<table class="table-border-rows m-b-2-xs">
<thead>
<tr>
<th>Class</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>.flex-justify-start-xs</code></td>
<td>(Default) Items are packed toward the start line</td>
</tr>
<tr>
<td><code>.flex-justify-end-xs</code></td>
<td>Items are packed toward the end line</td>
</tr>
<tr>
<td><code>.flex-justify-center-xs</code></td>
<td>Items are centered along the line</td>
</tr>
<tr>
<td><code>.flex-justify-between-xs</code></td>
<td>Items are evenly distributed in the line. First item on the start line, last item on the end line.</td>
</tr>
<tr>
<td><code>.flex-justify-around-xs</code></td>
<td>Items are evently distributed in the line with equal space around them. Note that visually the spaces aren't equal because each item has equal space on both sides.</td>
</tr>
</tbody>
</table>
<div class="flex-block-xs flex-justify-start-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 150px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 100px; height: 50px; line-height: 50px;">3</div>
</div>
<div class="flex-block-xs flex-justify-end-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 150px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 100px; height: 50px; line-height: 50px;">3</div>
</div>
<div class="flex-block-xs flex-justify-center-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 150px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 100px; height: 50px; line-height: 50px;">3</div>
</div>
<div class="flex-block-xs flex-justify-between-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 150px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 100px; height: 50px; line-height: 50px;">3</div>
</div>
<div class="flex-block-xs flex-justify-around-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 150px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 100px; height: 50px; line-height: 50px;">3</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs flex-justify-start-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
</div>
<div class="flex-block-xs flex-justify-end-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
</div>
<div class="flex-block-xs flex-justify-center-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
</div>
<div class="flex-block-xs flex-justify-between-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
</div>
<div class="flex-block-xs flex-justify-around-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
</div></code></pre>
</div>
<h3 class="m-b-1-xs">Align Items</h3>
<p class="m-b-2-xs">This defines how flex items are laid out along the cross axis on the current line.</p>
<table class="table-border-rows m-b-2-xs">
<thead>
<tr>
<th>Class</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>.flex-item-start-xs</code></td>
<td>Cross-start margin edge of the items is placed on the cross-start line</td>
</tr>
<tr>
<td><code>.flex-item-end-xs</code></td>
<td>Cross-end margin edge of the items is placed on the cross-end line</td>
</tr>
<tr>
<td><code>.flex-item-center-xs</code></td>
<td>Items are centered in the cross-axis</td>
</tr>
<tr>
<td><code>.flex-item-stretch-xs</code></td>
<td>(Default) Stretch to fill the container but still respects min/max-width</td>
</tr>
<tr>
<td><code>.flex-item-baseline-xs</code></td>
<td>Items are aligned such as their baselines align</td>
</tr>
</tbody>
</table>
<div class="flex-block-xs flex-item-start-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs flex-item-end-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs flex-item-center-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs flex-item-stretch-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs flex-item-baseline-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 70px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 100px;">4<br>5</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs flex-item-start-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs flex-item-end-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs flex-item-center-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs flex-item-stretch-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs flex-item-baseline-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 70px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 100px;">4<br>5</div>
</div></code></pre>
</div>
<h3 class="m-b-1-xs">Align Content</h3>
<p class="m-b-2-xs">This aligns a flex container's lines within when there is extra space in the cross-axis, similar to how justify-content aligns items within the main axis. Note: this property has no effect when there is only one line of flex items.</p>
<table class="table-border-rows m-b-2-xs">
<thead>
<tr>
<th>Class</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>.flex-content-start-xs</code></td>
<td>Lines packed to the start of the container</td>
</tr>
<tr>
<td><code>.flex-content-end-xs</code></td>
<td>Lines packed to the end of the container</td>
</tr>
<tr>
<td><code>.flex-content-center-xs</code></td>
<td>Lines packed to the center of the container</td>
</tr>
<tr>
<td><code>.flex-content-around-xs</code></td>
<td>Lines evenly distributed with the first line at the start and the last at the end of the container.</td>
</tr>
<tr>
<td><code>.flex-content-between-xs</code></td>
<td>Lines evenly distributed with equal space around each line.</td>
</tr>
<tr>
<td><code>.flex-content-stretch-xs</code></td>
<td>(Default) Lines stretch to take up the remaining space</td>
</tr>
</tbody>
</table>
<div class="flex-block-xs flex-content-start-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div>
<div class="flex-block-xs flex-content-end-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div>
<div class="flex-block-xs flex-content-center-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div>
<div class="flex-block-xs flex-content-around-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div>
<div class="flex-block-xs flex-content-between-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs flex-content-start-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div>
<div class="flex-block-xs flex-content-end-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div>
<div class="flex-block-xs flex-content-center-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div>
<div class="flex-block-xs flex-content-around-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div>
<div class="flex-block-xs flex-content-between-xs flex-wrap-xs border-xs p-05-xs" style="min-height:300px;">
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 500px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 150px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 200px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 300px; line-height: 50px;">4</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="height: 50px; width: 400px; line-height: 50px;">5</div>
</div></code></pre>
</div>
</section>
<section id="Items">
<h2 class="m-b-1-xs">Flex Items</h2>
<p class="m-b-1-xs">These are the children of the parent container. Flex items are what take on the flexible box layout for components and pages.</p>
<h3 class="m-b-1-xs">Order</h3>
<p class="m-b-1-xs">By default, items are laid out in source order. By using the <code>order</code> property, we can control the order inside the flex container. Leap contains built in ordering classes of <code>.flex-order-[n]-xs</code>, where n is an integer from 1 to 6. Any item without an order will default to 1 and matching orders will be grouped together in the appropriate order. You can rearrange the order across breakpoints with breakpoint suffixes.</p>
<div class="flex-block-xs border-xs p-05-xs">
<div class="flex-order-2-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-order-4-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="flex-order-1-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">2</div>
<div class="flex-order-2-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">3</div>
<div class="flex-order-3-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-order-2-lg border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="flex-order-1-lg border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">2</div>
<div class="flex-order-1-lg border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">3</div>
<div class="flex-order-2-lg border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs border-xs p-05-xs">
<div class="flex-order-2-xs border-dark-xs text-center-xs m-05-xs">1</div>
<div class="border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
<div class="border-dark-xs text-center-xs m-05-xs">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-order-4-xs border-dark-xs text-center-xs m-05-xs">1</div>
<div class="flex-order-1-xs border-dark-xs text-center-xs m-05-xs">2</div>
<div class="flex-order-2-xs border-dark-xs text-center-xs m-05-xs">3</div>
<div class="flex-order-3-xs border-dark-xs text-center-xs m-05-xs">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-order-2-lg border-dark-xs text-center-xs m-05-xs">1</div>
<div class="flex-order-1-lg border-dark-xs text-center-xs m-05-xs">2</div>
<div class="flex-order-1-lg border-dark-xs text-center-xs m-05-xs">3</div>
<div class="flex-order-2-lg border-dark-xs text-center-xs m-05-xs">4</div>
</div></code></pre>
</div>
<h3 class="m-b-1-xs">Flex Grow</h3>
<p class="m-b-1-xs">This property lets an item grow if necessary. It accepts a unitless value that serves as a proportion. The default is <code>0</code>.</p>
<div class="flex-block-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="flex-grow-1-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">2</div>
<div class="flex-grow-2-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-grow-6-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="flex-grow-3-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">3</div>
<div class="flex-grow-1-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">1</div>
<div class="flex-grow-2-lg border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">2</div>
<div class="flex-grow-4-lg border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="flex-grow-1-xs border-dark-xs text-center-xs m-05-xs">2</div>
<div class="flex-grow-2-xs border-dark-xs text-center-xs m-05-xs">3</div>
<div class="border-dark-xs text-center-xs m-05-xs">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-grow-6-xs border-dark-xs text-center-xs m-05-xs">1</div>
<div class="flex-grow-3-xs border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
<div class="flex-grow-1-xs border-dark-xs text-center-xs m-05-xs">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="flex-grow-2-lg border-dark-xs text-center-xs m-05-xs">2</div>
<div class="flex-grow-4-lg border-dark-xs text-center-xs m-05-xs">3</div>
<div class="border-dark-xs text-center-xs m-05-xs">4</div>
</div></code></pre>
</div>
<h3 class="m-b-1-xs">Flex Shrink</h3>
<p class="m-b-1-xs">This property lets an item shrink if necessary. It accepts a unitless value that serves as a proportion. The default is <code>1</code>.</p>
<div class="flex-block-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">1</div>
<div class="flex-shrink-2-xs border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">2</div>
<div class="flex-shrink-2-xs border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-shrink-4-xs border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">1</div>
<div class="flex-shrink-3-xs border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">2</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">3</div>
<div class="flex-shrink-2-xs border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">1</div>
<div class="flex-shrink-2-lg border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">2</div>
<div class="flex-shrink-4-lg border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 500px; height: 50px; line-height: 50px;">4</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="flex-shrink-2-xs border-dark-xs text-center-xs m-05-xs">2</div>
<div class="flex-shrink-2-xs border-dark-xs text-center-xs m-05-xs">3</div>
<div class="border-dark-xs text-center-xs m-05-xs">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-shrink-4-xs border-dark-xs text-center-xs m-05-xs">1</div>
<div class="flex-shrink-3-xs border-dark-xs text-center-xs m-05-xs">2</div>
<div class="border-dark-xs text-center-xs m-05-xs">3</div>
<div class="flex-shrink-2-xs border-dark-xs text-center-xs m-05-xs">4</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs">1</div>
<div class="flex-shrink-2-lg border-dark-xs text-center-xs m-05-xs">2</div>
<div class="flex-shrink-4-lg border-dark-xs text-center-xs m-05-xs">3</div>
<div class="border-dark-xs text-center-xs m-05-xs">4</div>
</div></code></pre>
</div>
<h3 class="m-b-1-xs">Flex Basis</h3>
<p class="m-b-1-xs">This property defines the default size of an element before the remaining space is distributed. It can be a length or keyword, like "auto". The default is <code>auto</code>. To use percentages, use the same widths we have available in our <code>.col</code> classes, like <code>.flex-basis-20-xs</code>. To use our default spacing units, try <code>.flex-basis-s2-xs</code>.</p>
<div class="flex-block-xs border-xs p-05-xs">
<div class="flex-basis-33-xs flex-basis-20-lg border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">1</div>
<div class="flex-basis-33-xs flex-basis-60-lg border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">2</div>
<div class="flex-basis-33-xs flex-basis-20-lg border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">3</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-basis-s2-xs flex-basis-50-lg border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">1</div>
<div class="flex-basis-s4-xs flex-basis-40-lg border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">2</div>
<div class="flex-basis-s6-xs flex-basis-10-lg border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">3</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs border-xs p-05-xs">
<div class="flex-basis-33-xs flex-basis-20-lg border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">1</div>
<div class="flex-basis-33-xs flex-basis-60-lg border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">2</div>
<div class="flex-basis-33-xs flex-basis-20-lg border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">3</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="flex-basis-s2-xs border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">1</div>
<div class="flex-basis-s4-xs border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">2</div>
<div class="flex-basis-s6-xs border-dark-xs text-center-xs m-05-xs" style="height: 50px; line-height: 50px;">3</div>
</div></code></pre>
</div>
<h3 class="m-b-1-xs">Align Self</h3>
<p class="m-b-2-xs">This allows individual flex items to have their own unique alignment within the container. This also overrides the container align-items property.</p>
<table class="table-border-rows m-b-2-xs">
<thead>
<tr>
<th>Class</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>.flex-self-auto-xs</code></td>
<td>(Default) Auto align, which inherits the align-items property</td>
</tr>
<tr>
<td><code>.flex-self-start-xs</code></td>
<td>Cross-start margin edge of the flex item is placed on the cross-start line (align-self: flex-start)</td>
</tr>
<tr>
<td><code>.flex-self-start-flush-xs</code></td>
<td>Cross-start margin edge of the item is placed on the cross-start line (align-self: start)</td>
</tr>
<tr>
<td><code>.flex-self-end-xs</code></td>
<td>Cross-end margin edge of the flex item is placed on the cross-end line (align-self: flex-end)</td>
</tr>
<tr>
<td><code>.flex-self-end-flush-xs</code></td>
<td>Cross-end margin edge of the item is placed on the cross-end line (align-self: end)</td>
</tr>
<tr>
<td><code>.flex-self-center-xs</code></td>
<td>Items are centered in the cross-axis</td>
</tr>
<tr>
<td><code>.flex-self-stretch-xs</code></td>
<td>Stretch to fill the container but still respects min/max-width</td>
</tr>
<tr>
<td><code>.flex-self-baseline-xs</code></td>
<td>Items are aligned such as their baselines align</td>
</tr>
</tbody>
</table>
<div class="flex-block-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-start-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-end-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-center-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-stretch-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-baseline-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="guide-code m-b-4-xs">
<pre><code class="language-html"><div class="flex-block-xs border-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-start-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-end-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-center-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-stretch-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div>
<div class="flex-block-xs border-xs border-none-t-xs p-05-xs">
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">1<br>2</div>
<div class="flex-self-baseline-xs border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">3</div>
<div class="border-dark-xs text-center-xs m-05-xs" style="width: 50px; line-height: 50px;">4<br>5</div>
</div></code></pre>
</div>
</section>