-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
712 lines (676 loc) · 28.7 KB
/
index.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
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css" />
<script
src="https://code.jquery.com/jquery-1.12.4.min.js"
integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ="
crossorigin="anonymous"></script>
<script type="text/javascript" src="js/script.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body>
<div id="wrapper">
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>Introduction to Flexbox</h1>
<p class="lead">Flexbox is a powerful tool for achieving modern layouts in CSS. Below we will examine some of the different properties flexbox offers and how each affects flex content.</p>
</div>
</div>
<section>
<div class="row">
<div class="col-md-12">
<h2>flex-direction</h2>
<p>This property determines the order in which flex items are displayed relative to the order of the items in the markup, and whether they display inline or vertically stacked. This is also called the "main axis".</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="flex-container">
<div class="flex-item">1</div>
<div class="flex-item">2</div>
<div class="flex-item">3</div>
<div class="flex-item">4</div>
</div>
</div>
<div class="col-md-4">
<div class="options-container form-horizontal">
<h4>Container Properties</h4>
<div class="form-group">
<label class="col-md-6 new">flex-direction: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="flex-direction">
<option value="row">row (default)</option>
<option value="row-reverse">row-reverse</option>
<option value="column">column</option>
<option value="column-reverse">column-reverse</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6">justify-content: </label>
<div class="col-md-6">
<span>
flex-start
</span>
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-md-12">
<h2>justify-content</h2>
<p>This property determines where, relative to the flex container, the content is aligned along the main axis. Values of <code>flex-start</code> and <code>flex-end</code> depend on the direction set in <code>flex-direction</code>. <code>space-between</code> positions the first and last elements at the beginning and end of the container, respectively, and puts equal space between each of the elements. <code>space-around</code> gives equal space between elements, and the first and last elements have half the space before and after (respectively) as between elements. Note that items in contexts with <code>flex-direction: column*</code> are not affected by this property unless the flex container has a defined height.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="flex-container">
<div class="flex-item">1</div>
<div class="flex-item">2</div>
<div class="flex-item">3</div>
<div class="flex-item">4</div>
</div>
</div>
<div class="col-md-4">
<div class="options-container form-horizontal">
<h4>Container Properties</h4>
<div class="form-group">
<label class="col-md-6">flex-direction: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="flex-direction">
<option value="row">row (default)</option>
<option value="row-reverse">row-reverse</option>
<option value="column">column</option>
<option value="column-reverse">column-reverse</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">justify-content: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="justify-content">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="space-between">space-between</option>
<option value="space-around">space-around</option>
</select>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="flex-wrap">
<div class="row">
<div class="col-md-12">
<h2>flex-wrap</h2>
<p>This property determines whether flex items can exist in multiple lines or whether they can only take up one line. Whether "line" means "row" or "column", and where the line originates and overflows depends on <code>flex-direction</code> and width or height settings of the container.</p>
<p>You can also use <code>flex-flow</code> as a shorthand property for <code>flex-direction</code> and <code>flex-wrap</code> like this: <code>flex-flow: <flex-direction> || <flex-wrap></code>. How this affects in which direction lines of items stack, which is called the "cross axis"</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="flex-container">
<div class="flex-item">1</div>
<div class="flex-item">2</div>
<div class="flex-item">3</div>
<div class="flex-item">4</div>
</div>
</div>
<div class="col-md-4">
<div class="options-container form-horizontal">
<h4>Container Properties</h4>
<div class="form-group">
<label class="col-md-6">flex-direction: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="flex-direction">
<option value="row">row (default)</option>
<option value="row-reverse">row-reverse</option>
<option value="column">column</option>
<option value="column-reverse">column-reverse</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6">justify-content: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="justify-content">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="space-between">space-between</option>
<option value="space-around">space-around</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">flex-wrap: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="flex-wrap">
<option value="nowrap">nowrap (default)</option>
<option value="wrap">wrap</option>
<option value="wrap-reverse">wrap-reverse</option>
</select>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="flex-wrap">
<div class="row">
<div class="col-md-12">
<h2>order</h2>
<p>This property applies to individual flex items and determines the order within the given flex container.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="flex-container">
<div class="flex-item">1</div>
<div class="flex-item">2</div>
<div class="flex-item">3</div>
<div class="flex-item">4</div>
</div>
</div>
<div class="col-md-4">
<div class="options-container form-horizontal">
<h4>Container Properties</h4>
<div class="form-group">
<label class="col-md-6">flex-direction: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="flex-direction">
<option value="row">row (default)</option>
<option value="row-reverse">row-reverse</option>
<option value="column">column</option>
<option value="column-reverse">column-reverse</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6">justify-content: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="justify-content">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="space-between">space-between</option>
<option value="space-around">space-around</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6">flex-wrap: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="flex-wrap">
<option value="nowrap">nowrap (default)</option>
<option value="wrap">wrap</option>
<option value="wrap-reverse">wrap-reverse</option>
</select>
</div>
</div>
<h4>Item Properties</h4>
<div class="form-group">
<label class="col-md-6 new">Item #1 order: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(1)" data-property="order">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="-1">-1</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #2 order: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(2)" data-property="order">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="-1">-1</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #3 order: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(3)" data-property="order">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="-1">-1</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #4 order: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(4)" data-property="order">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="-1">-1</option>
</select>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="align">
<div class="row">
<div class="col-md-12">
<h2>align-items and align-self</h2>
<p><code>align-items</code> applies to the flex container and determines the default cross-axis alignment for flex items. <code>align-self</code> applies to individual flex items and determines that specific item's cross-axis alignment.</p>
<p>"baseline" aligns the items along the baseline of the text inside the items, putting the tallest item along the beginning of the cross axis and aligning everything else to it.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="flex-container">
<div class="flex-item">1</div>
<div class="flex-item">2</div>
<div class="flex-item">3</div>
<div class="flex-item">4</div>
</div>
</div>
<div class="col-md-4">
<div class="options-container form-horizontal">
<h4>Container Properties</h4>
<div class="form-group">
<label class="col-md-6 new">align-items: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="align-items">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="baseline">baseline</option>
<option value="stretch">stretch</option>
</select>
</div>
</div>
<h4>Item Properties</h4>
<div class="form-group">
<label class="col-md-6 new">Item #1 align-self: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(1)" data-property="align-self">
<option value="auto">auto</option>
<option value="flex-start">flex-start</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="baseline">baseline</option>
<option value="stretch">stretch</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #1 height: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(1)" data-property="height">
<option value="25%" selected="selected">25% (default)</option>
<option value="50%">50% </option>
<option value="75%">75%</option>
<option value="90%">90%</option>
<option value="auto">auto</option>
</select>
</div>
</div>
<hr />
<div class="form-group">
<label class="col-md-6 new">Item #2 align-self: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(2)" data-property="align-self">
<option value="auto">auto</option>
<option value="flex-start">flex-start</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="baseline">baseline</option>
<option value="stretch">stretch</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #2 height: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(2)" data-property="height">
<option value="25%">25%</option>
<option value="50%" selected="selected">50% (default)</option>
<option value="75%">75%</option>
<option value="90%">90%</option>
<option value="auto">auto</option>
</select>
</div>
</div>
<hr />
<div class="form-group">
<label class="col-md-6 new">Item #3 align-self: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(3)" data-property="align-self">
<option value="auto">auto</option>
<option value="flex-start">flex-start</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="baseline">baseline</option>
<option value="stretch">stretch</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #3 height: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(3)" data-property="height">
<option value="25%">25%</option>
<option value="50%">50%</option>
<option value="75%" selected="selected">75% (default)</option>
<option value="90%">90%</option>
<option value="auto">auto</option>
</select>
</div>
</div>
<hr />
<div class="form-group">
<label class="col-md-6 new">Item #4 align-self: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(4)" data-property="align-self">
<option value="auto">auto</option>
<option value="flex-start">flex-start</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="baseline">baseline</option>
<option value="stretch">stretch</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #4 height: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(4)" data-property="height">
<option value="25%">25%</option>
<option value="50%">50% </option>
<option value="75%">75%</option>
<option value="90%" selected="selected">90% (default)</option>
<option value="auto">auto</option>
</select>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="flex">
<div class="row">
<div class="col-md-12">
<h2>flex-basis, flex-grow, and flex-shrink</h2>
<p><code>flex-basis</code> is a property that determine's an item's defualt size before available space is distributed. It can be set the same way <code>height</code> or <code>width</code> can.<code>flex-grow</code> and <code>flex-shrink</code> are properties that take positive integer arguments that determine how space is distributed if any positive or negative space remains. Using the <code>flex</code> shorthand property, which combines all three properties into one shorthand property, is preferred over setting each individually.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="flex-container">
<div class="flex-item">1</div>
<div class="flex-item">2</div>
<div class="flex-item">3</div>
<div class="flex-item">4</div>
</div>
</div>
<div class="col-md-4">
<div class="options-container form-horizontal">
<h4>Container Properties</h4>
<div class="form-group">
<label class="col-md-6 new">justify-content: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="justify-content">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="space-around">space-around</option>
<option value="space-between">space-between</option>
</select>
</div>
</div>
<h4>Item Properties</h4>
<div class="form-group">
<label class="col-md-6 new">Item #1 flex-basis: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(1)" data-property="flex-basis">
<option value="auto">auto (default)</option>
<option value="100px">100px</option>
<option value="200px">200px</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #1 flex-shrink: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(1)" data-property="flex-shrink">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #1 flex-grow: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(1)" data-property="flex-grow">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
<hr />
<div class="form-group">
<label class="col-md-6 new">Item #2 flex-basis: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(2)" data-property="flex-basis">
<option value="auto">auto (default)</option>
<option value="100px">100px</option>
<option value="200px">200px</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #2 flex-shrink: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(2)" data-property="flex-shrink">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #2 flex-grow: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(2)" data-property="flex-grow">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
<hr />
<div class="form-group">
<label class="col-md-6 new">Item #3 flex-basis: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(3)" data-property="flex-basis">
<option value="auto">auto (default)</option>
<option value="100px">100px</option>
<option value="200px">200px</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #3 flex-shrink: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(3)" data-property="flex-shrink">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #3 flex-grow: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(3)" data-property="flex-grow">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
<hr />
<div class="form-group">
<label class="col-md-6 new">Item #4 flex-basis: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(4)" data-property="flex-basis">
<option value="auto">auto (default)</option>
<option value="100px">100px</option>
<option value="200px">200px</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #4 flex-shrink: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(4)" data-property="flex-shrink">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6 new">Item #4 flex-grow: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="item:nth-child(4)" data-property="flex-grow">
<option value="0">0 (default)</option>
<option value="1">1</option>
<option value="2">2</option>
</select>
</div>
</div>
</div>
</div>
</div>
</section>
<section>
<div class="row">
<div class="col-md-12">
<h2>Horizontally positioning text content</h2>
<p>Sometimes you will want to position text horizontally. You don't have fine-grained control over horizontal positioning of text through flexbox, but you can center it horizontally, or start the text from the left or right of the container. Use the container's <code>justify-content</code> property to change the horizontal origin of the text.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="flex-container" contenteditable="true">This is my text content</div>
</div>
<div class="col-md-4">
<div class="options-container form-horizontal">
<h4>Container Properties</h4>
<div class="form-group">
<label class="col-md-6">justify-content: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="justify-content">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="space-between">space-between</option>
<option value="space-around">space-around</option>
</select>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="vertically-centered">
<div class="row">
<div class="col-md-12">
<h2>Vertically positioning text content</h2>
<p>Sometimes you will want to position text vertically. You don't have fine-grained control over vertical positioning of text through flexbox, but you can center it vertically, or start the text from the bottom or top of the container. Use the container's <code>align-items</code> property to change the vertical origin of the text.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="flex-container" contenteditable="true">This is my text content</div>
</div>
<div class="col-md-4">
<div class="options-container form-horizontal">
<h4>Container Properties</h4>
<div class="form-group">
<label class="col-md-6">align-items: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="align-items">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="baseline">baseline</option>
<option value="stretch">stretch</option>
</select>
</div>
</div>
</div>
</div>
</div>
</section>
<section id="vertically-and-horizontally-centered">
<div class="row">
<div class="col-md-12">
<h2>Horizontally and vertically positioning text content</h2>
<p>Combine the two above properties to gain more control over text placement inside a flex container.</p>
</div>
</div>
<div class="row">
<div class="col-md-8">
<div class="flex-container" contenteditable="true">This is my text content</div>
</div>
<div class="col-md-4">
<div class="options-container form-horizontal">
<h4>Container Properties</h4>
<div class="form-group">
<label class="col-md-6">align-items: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="align-items">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="baseline">baseline</option>
<option value="stretch">stretch</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-6">justify-content: </label>
<div class="col-md-6">
<select class="form-control" data-applies-to="container" data-property="justify-content">
<option value="flex-start">flex-start (default)</option>
<option value="flex-end">flex-end</option>
<option value="center">center</option>
<option value="space-between">space-between</option>
<option value="space-around">space-around</option>
</select>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</body>
</html>