Display
The display property controls how an element takes part in layout.
Definition
The display property controls how an element takes part in layout. Block elements stack and fill the width, inline elements flow within text, and none removes the element.
Use case
Flex and grid are also display values, so display is where most layout starts.
Related terms
Resources
No resources yet. Suggest one.