CSS · Properties — CSS Containment

content-visibility

The CSS content-visibility property. Initial value: visible. Not inherited.

Syntax
content-visibility: visible | auto | hidden

Example

Try it

Notes

Media: all. Applies to: elementsForWhichSizeContainmentCanApply. Computed value: asSpecified.

More in this group

contain

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