O'Reilly logo

CSS Quick Syntax Reference by Mikael Olsson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required