css display flex block 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: flex box css

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

Example 3: display flex css

.class {
  display: flex;
}

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

Tags:

Css Example