CHAPTER 22

image

Classification

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 | inline-grid | run-in

Most ...

Get CSS Quick Syntax Reference 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.