Critical CSS Extractor

Above‑the‑fold CSS calculator — inline critical styles, defer the rest.

📄 Paste stylesheet & HTML

Parses selectors & matches above‑the‑fold patterns: body, header, nav, h1, .hero, main first‑child, etc.

📊 Analysis results

Full CSS size0.8 KB
Critical CSS size0.5 KB
Potential savings37%
Render‑blocking~180ms → ~90ms

✅ Extracted critical CSS (inline ready)

body { margin:0; font-family:sans-serif; } header { background:#333; color:white; } ...

⏳ Deferred CSS (loadCSS pattern)

// loadCSS snippet will appear here

📋 Selector coverage (above‑the‑fold)

  • body ✅ critical
  • header ✅ critical
  • .hero ✅ critical