IT lexicon › Web › Critical CSS

Critical CSS

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

Minimal CSS required to paint the above-the-fold content without delaying the browser's first render.

The browser blocks rendering until all CSS is parsed and downloaded—making critical CSS a major bottleneck. By extracting only the rules needed for above-the-fold content and inlining them in the HTML head, you can render the page immediately while the rest of the stylesheet loads asynchronously. Common tricks include loading non-critical CSS with media="print" or using the media="(prefers-reduced-motion: no-preference)" pattern to avoid blocking. This approach is essential for achieving low First Contentful Paint scores.

← Back to the lexicon