FaCSSt: CSS and Performance
summary
Claims and numbers: embedding images as base64-encoded images in CSS inflates critical CSS and causes up to 10x slower first paint on mobile (examples: ~700ms vs ~7s), a large stylesheet costs ~200ms pause on a Moto G4, flattening @import to linked stylesheets cuts ~412ms in a case study, mixins gzip better than extends giving ~23–27% smaller transfers, alphabetizing CSS saves ~3.25% gzip, and crucially inline scripts block until CSS finishes downloading.
AI-written summary · about
chapters (13)
- 0:00Start
- 4:14Larger files take longer to download...
- 5:42Light could travel 59,958km
- 7:35Base64 is an anti-pattern
- 7:46that increase is on your Critical Path
- 8:11An Experiment
- 14:12Selector Performance
- 25:44Mixin vs. @extend
- 27:27Mixins are better for performance than @extend
- 29:16Asset Domains
- 39:10Loading CSS and JS
- 39:23Inline scripts block on CSSOM construction
- 41:50Load the JS with the async attribute








