(developer.mozilla.org) display - CSS: Cascading Style Sheets | MDN
ROAM_REFS: https://developer.mozilla.org/en-US/docs/Web/CSS/display
- display
The
displayCSS property sets whether an element is treated as a block or inline box and the layout used for its children, such as flow layout, grid or flex.Formally, the
displayproperty 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 ofdisplayare fully defined in their own individual specifications; for example the detail of what happens whendisplay: flexis declared is defined in the CSS Flexible Box Model specification.