Name

visibility

Synopsis

This specifies whether the element box generated by an element is rendered. This means authors can have the element take up the space it would ordinarily take up but be completely invisible. The value collapse is used in tables to remove columns or rows from the table’s layout.

Values:

visible | hidden | collapse | inherit

Initial value:

inherit

Applies to:

all elements

Inherited:

no

Computed value:

as specified

Get Cascading Style Sheets: The Definitive Guide, Second Edition 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.