CSS content-visibility Playground

A 300-row seating list for the evening show with content-visibility: auto: a chair is set out when the browser renders its row and folded when it skips it…

Why it matters

Long lists (feeds, tables, comments) are expensive to render though only part is seen. One CSS line cuts that work with no library, and the DOM stays whole for Ctrl+F and screen readers. The catch: an estimated size with contain-intrinsic-size, so the scrollbar does not jump and not every row is rendered when first seen.

The key idea

Skipped, not removed

Common mistakes

Try it in this playground