IT lexicon › Web › Contain Intrinsic Size

Contain Intrinsic Size

Web På svenska → Updated: 2026-11-15

A CSS property that tells the browser how large an element will be before rendering, preventing layout shifts when content loads.

contain-intrinsic-size (or the earlier contain-intrinsic-width/height) is a hint to the layout engine. It lets the browser reserve space for an element before its content is loaded or painted, especially useful with content-visibility or lazy-loaded components. This prevents cumulative layout shift (CLS) when content finally arrives.

← Back to the lexicon