Goodbye SASS
redblobgames.com·4h·
Discuss: Hacker News
🔀Hybrid Publishing
Preview
Report Post

My “site” is spread across five different servers. I use slightly different CSS on each one. Since 2013 I’ve been using SASS to manage the variants, using these features:

  1. Variables → available in CSS since 2020
  2. Calculations → available in CSS since 2015
  3. Nesting → available in CSS since late 2023

Even though I want to use new browser features right away, I usually wait a year or two for them to stabilize and get into extended support releases.

A few years ago I had switched variables and calculations from SASS to CSS, but I still needed SASS for nesting. Since CSS nesting has now been supported for two years, I decided it should be safe for me to use it. And that means I no longer need SASS.

I divided the CSS into eight files that I can simply concatenate together (using…

Similar Posts

Loading similar posts...