© Mikael Olsson 2019
Mikael OlssonCSS3 Quick Syntax Referencehttps://doi.org/10.1007/978-1-4842-4903-1_22

22. Classification

Mikael Olsson1 
(1)
Hammarland, Finland
 

The classification properties specify how an element is displayed and whether it is visible.

display

The display property determines the kind of box that surrounds an element. It can make any element appear as inline, block, or any other type. Every element has a default display value that depends on what type of element it is.
display : none | inline | block | list-item | inline-block |
          inline-table | table | table-cell | table-row |
          table-column | table-column-group | table-footer-group |
          table-header-group | table-row-group | flex | inline-flex |
          grid ...

Get CSS3 Quick Syntax Reference: A Pocket Guide to the Cascading Style Sheets Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.