

Can Vanilla CSS Replace Sass Yet?
Apr 19, 2023
Wes and Scott dive into the features of Sass and assess whether vanilla CSS can step up as a replacement. They cover topics like CSS variables, nesting, and the evolution of PostCSS. The conversation reveals the limitations of vanilla CSS, especially in scenarios like looping and dynamic styles. With lighthearted anecdotes intertwined, they explore CSS's practical uses and potential bloat compared to the efficiency of Sass. Plus, practical tips for outdoor lighting solutions are shared, blending tech insights with delightful storytelling.
AI Snips
Chapters
Transcript
Episode notes
CSS Variables
- Use CSS variables for better browser compatibility and dynamic updates.
- Scope variables to specific selectors for better control and organization.
Live vs. Compile-Time Variables
- CSS variables offer live, dynamic updates in the client, unlike Sass variables.
- Scoped CSS variables can replace many mixin use cases.
Client-Side Color Calculation Debate
- Wes received criticism for client-side color calculations impacting user resources.
- He argues client-side calculation is more efficient than precompiling numerous color combinations.