Flexbox

A Flexbox is a container that aligns direct items inside it to make the items responsive to changes on the page resolution, making the website content better for the user to visualize.

.flex-container {
	display: flex;
}

.flex-container [tag] {
	/* Every innerTag alignment */
}

Flex Direction

How are the container items disposed within it, based on the X / Y axes.

.flex-container {
flex-direction: column, column-reverse, row (default), row-reverse
}

Flex Wrap

Force the content to stay within the container? Allows for multiple lines of content.

.flex-container {
	flex-wrap: nowrap (default), wrap, wrap-reverse
}

Flex Flow

Shortcut to flex-direction & flex-wrap.

.flex-container {
	flex-flow: [direction] [wrap]
}

List of Property Values for the content below

[props]: {
flex-start: Default, start of flex container,
flex-end: End of flex container,
center: Center of flex container,
space-between: Space between items, no space in the borders,
space-around: Space between items, half the space in the borders,
space-evenly: Space between items and borders,
baseline: Items are centered in the main axis, works for cross axis props
}

General Items Properties

Properties applied to every item inside a Flexbox container.

Justify Content

Modify spacing according to the direction (main axis).

.flex-container {
	justify-content: [props]
}

Align Content