css tricks flexbox code example

Example 1: flex css end

.item {
  align-self:flex-start | flex-end | center | baseline | stretch;
}

Example 2: flex parameters

flex: none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]

Example 3: flexbox css

.container {
  flex-flow: column wrap;
}

Example 4: what does flex do

The flex CSS property sets how a flex item will grow or shrink to fit the space
available in its flex container. It is a shorthand for flex-grow , flex-shrink ,
and flex-basis .

Example 5: flex box css tricks

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

Tags:

Css Example