Flexbox demo

Flexbox Demo #1 (flex-grow: 1 for filling space, 0 for fixed size)

flex-grow: 1
flex-grow: 1
flex-grow: 1
flex-grow: 1
flex-grow: 1

Flexbox Demo #2 (justify-content: space-around)

This
all
creates
the
equalized
space
child
around
containers

Flexbox Demo #3 (justify-content: space-between)

These
Be
Internally
Equidistant
Child
Containers

Flexbox Demo #4 (justify-content: space-evenly)

These
Containers
Are
Consistently
Spaced

Flexbox Demo #5 (flex-direction: row-reverse)

1
2
3
4
5

This demonstrates how using flex-direction can change the order of items using CSS styling.

Flexbox Demo #6 (flex-wrap;)

flex-grow: 1;
flex-grow: 1;
flex-grow: 1;
flex-grow: 1;
flex-grow: 1;

Here we have an example of how row wrap and justify-content: space evenly creates consistent minimum sizes
and wrap containers onto the next row.

Flexbox Demo #7

This demo
#7 is a great
example of
how you can
truly center
a container

Flexbox Demo #8

flex-basis
flex-basis
flex-basis
flex-basis
flex-basis
flex-basis
flex-basis
flex-basis

Flex-basis works similarly to flex-wrap, but instead of utilizing multiple styling elements, flex-basis can utilize consistent sizes in relation to window size.