Visibility-aware rendering
type: TechArticle
description: Use `content-visibility` with `contain-intrinsic-size` to skip layout and paint for off-screen content, and Intersection Observer to drive lazy behaviour, instead of scroll and resize listeners.
language: en
is part of: Web Specification Studio
author: Web Specification Studio
publisher: Web Specification Studio
license: https://creativecommons.org/licenses/by/4.0/
date modified: 2026-07-06T00:00:00.000Z
citation: CSS Containment Module Level 2
  type: CreativeWork
  publisher: W3C CSSWG
citation: MDN — content-visibility
  type: CreativeWork
  publisher: MDN
citation: Intersection Observer
  type: CreativeWork
  publisher: W3C
citation: MDN — Intersection Observer API
  type: CreativeWork
  publisher: MDN

Web Specification Studio
type: WebSite

Web Specification Studio
type: Organization

breadcrumb
type: BreadcrumbList
item list element: Home
  type: ListItem
  position: 1
  item: https://webspecification.com/
item list element: Spec
  type: ListItem
  position: 2
  item: https://webspecification.com/spec/
item list element: Performance
  type: ListItem
  position: 3
  item: https://webspecification.com/spec/performance/
item list element: Visibility-aware rendering
  type: ListItem
  position: 4
  item: https://webspecification.com/spec/performance/visibility-aware-rendering/