Flexible Box Layout (Flexbox)

Conceitos

Referência:

Termos:

Mapa Mental:

Display

MDN

Name: display


Value: flex | inline-flex


Initial: inline


display:

Flex Container

Orientation - Direction

MDN

Name: flex-direction


Value: row | row-reverse | column | column-reverse


Initial: row


directions:

Orientation - Wrap

MDN

Name: flex-Wrap


Value: nowrap | wrap | wrap-reverseWrap


Initial: nowrap


wraps:

Orientation - Direction & Wrap

MDN

Name: flex-flow
Value: <flex-direction> || <flex-wrap>
Initial: individual properties

directions-wraps:

Justify Content

MDN

Name: justify-content


Value: flex-start | flex-end | center | space-between | space-around


Initial: flex-start


justify-contents:

Alignment Items

MDN

Name: align-items


Value: flex-start | flex-end | center | baseline | stretch


Initial: stretch


alignment-items:

Alignment Content

MDN

Name: align-content


Value: flex-start | flex-end | center | space-between | space-around | stretch


Initial: stretch


alignment-content:

Flex Item

Alignment Self

MDN

Name: align-self


Value: auto | flex-start | flex-end | center | baseline | stretch


Initial: auto


alignment-self:

Ordering

MDN

Name: order
Value: <integer>
Initial: 0

ordering:

Flexibility Grow

MDN

Name: flex-grow
Value: <integer>
Initial: 0

flexibility-grow:

Flexibility Shrink

MDN

Name: flex-shrink
Value: <integer>
Initial: 1

flexibility-shrink:

Flexibility Basis

MDN

Name: flex-basis
Value: content | <width>
Initial: auto

flexibility-basis:

Flexibility Shorthand

MDN

Name: flex
Value: none | [ <flex-grow> <flex-shrink>? || <flex-basis> ]
Initial: 0 1 auto

flexibility:

Demo

Referências

Editar esta página