MDN self-hosted library · e01.org

Flex item

The direct children of a Flex Container (elements with display: flex or display: inline-flex set on them) become flex items.

no runnable cells glossary-definition upstream source

The direct children of a Flex Container (elements with display: flex or display: inline-flex set on them) become flex items.

Continuous runs of text inside flex containers will also become flex items.

See also

Property reference

  • align-self
  • flex-basis
  • flex-grow
  • flex-shrink
  • order

Further reading