What is the primary effect of setting ‘content-visibility: auto’ on a complex DOM subtree?

Web Development Hard

Web Development — Hard

What is the primary effect of setting ‘content-visibility: auto’ on a complex DOM subtree?

Key points

  • Skips rendering work for off-screen elements.
  • Reduces initial page load time.
  • Requires 'contain-intrinsic-size' to prevent layout jumps.

Ready to go further?

Related questions