content-visibility

Lets the browser skip rendering off-screen sections.

What does content-visibility do?

content-visibility: auto lets the browser skip rendering sections that are off screen until they are scrolled near, which speeds up long pages.

.blog-post { content-visibility: auto; contain-intrinsic-size: auto 800px; }

Level: Master · More CSS terms at this level

Updated