1
2(Note: The X and Y axis / alignment direction can change depending
3if you are using flex-direction: row or column)
4
51. justify-content: Horizontal-X-axis
6Alignment & Spacing along primary axis (X-axis)
7
8flex-start; Align children horizontally left
9
10flex-end; Align children horizontally right
11
12center; Align children horizontally centered (amaze!)
13
14space-between; Distribute children horizontally evenly across
15entire width
16
17space-around; Distribute children horizontally evenly across
18entire width (but with space on the edges
19
202. align-items: Vertical-Y-axis
21Alignment only along secondary axis (Y-axis)
22
23flex-start; Align children vertically top
24
25flex-end; Align children vertically bottom
26
27center; Align children vertically centered (amaze!)
28
29baseline; Aligned children vertically so their baselines align
30(doesn't really work)
31
32stretch; Force children to be height of container (great for columns)
33See it in action:
34
35http://codepen.io/enxaneta/full/adLPwv/