D
20

Thought CSS preprocessors were overkill until I inherited a 3,000 line stylesheet

I spent 6 months telling myself plain CSS was just fine, no need for Sass or Less. Last Tuesday I got handed a project with a single CSS file where someone used 20 different shades of blue defined inline. After 3 hours of search and replace, I finally caved and learned Sass in an afternoon. Nested selectors and variables alone saved me from losing my mind. Has anyone else hit that wall where you just admit the extra tooling was worth it?
2 comments

Log in to join the discussion

Log In
2 Comments
margaretrivera
That stylesheet sounds like a real estate listing where they said "cozy" but really meant "you can cook dinner from the toilet." 20 shades of blue inline is basically a cry for help. I spent a whole afternoon trying to track down one specific "cornflower blue" that turned out to be "cornflower blue" but with a hex code that was actually a slightly different blue nobody else could see. Nesting in Sass made me feel like I finally cleaned out a hoarder's garage.
5
jackson.jenny
Oh man, same here. I was the person who thought variables were some kind of developer conspiracy. Then I spent a week trying to change the primary color on a site and realized I had to update 47 different hex codes by hand. That was the moment I finally admitted I was just making extra work for myself out of pure stubbornness. I learned Sass that weekend and honestly felt so dumb for not doing it sooner. Now I get excited about writing a mixin like the dork I am. Nested selectors alone are worth the setup time, especially when your boss asks you to change the font size on every h2 at 3pm on a Friday.
5