CSS · Properties — CSS Display

visibility

The CSS visibility property. Initial value: visible. Inherited.

Syntax
visibility: visible | hidden | collapse

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

More in this group

reading-flow reading-order

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course