column css flex code example

Example 1: display flex column

.container {
	display: flex;
	flex-direction: column;
}

Example 2: flexbox css

.container {
  align-content: flex-start | flex-end | center | space-between | space-around | space-evenly | stretch | start | end | baseline | first baseline | last baseline + ... safe | unsafe;
}

Example 3: css all flex properties

.item {
  flex-shrink: 3; /* default 1 */
}

Example 4: css all flex properties

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

Example 5: css all flex properties

.container {
  align-items: stretch | flex-start | flex-end | center | baseline | first baseline | last baseline | start | end | self-start | self-end + ... safe | unsafe;
}

Example 6: css all flex properties

.container {
  flex-flow: column wrap;
}

Tags:

Misc Example