div flexbox code example

Example 1: css flexbox syntax

Display: flex 
Flex-direction: row | row-reverse | column | column-reverse
align-self: flex-start | flex-end | center | baseline | stretch
justify-content: start |  center | space-between | space-around | space-evenly

Example 2: display flex css

.class {
  display: flex;
}

/* use display: flex to turn CSS element into a flexbox */

Example 3: 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 4: flexbox css

.container {
  flex-flow: column wrap;
}

Example 5: flex box css

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

Example 6: flexbox css

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

Tags:

Html Example