Super Flexbox

Container Properties

justify-content

justify-content

Tells the browser how distribute the space between and around the elements, using the main axis (set with flex-direction) as reference.

align-items

align-items

Controls the Cross Axis of the container children as a group. In this case the flex-direction is set to row, the Cross Axis is vertical.

align-content

align-content

Distributes the space between and around the elements, using the Cross Axis as reference.
In this example flex-direction is set to row, the Cross Axis is vertical.
Important: flex-wrap must be set to wrap or wrap-reverse.

flex-direction

flex-direction

Sets the placement of the children in the container.
It defines the Main Axis (vertical or horitontal placement), and its direction.

flex-wrap

flex-wrap

Defines the placement of the children in one line or multiple lines.