flex item properties code example

Example 1: flexbox css

.container {
  flex-flow: column wrap;
}

Example 2: css all flex properties

.container {
  justify-content: flex-start | flex-end | center | space-between | space-around | space-evenly | start | end | left | right ... + safe | unsafe;
}

Example 3: css all flex properties

.item {
  flex: none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]
}

Example 4: css all flex properties

.container {
  flex-direction: row | row-reverse | column | column-reverse;
}

Example 5: css all flex properties

.item {
  order: 5; /* default is 0 */
}

Tags:

Css Example