Formally, the display
property sets an element's inner and outer display types. The outer type sets an element's participation in flow layout; the inner type sets the layout of children. Some values of display
are fully defined in their own individual specifications; for example the detail of what happens when display: flex
is declared is defined in the CSS Flexible Box Model specification.