How I Organize My Stylesheets | The Spicy Web
An excerpt from my upcoming course for The Spicy Web on how to write modern, maintainable vanilla CSS using sound architectural principles, slated for release in January 2023.
There are only two hard things in Computer Science: cache invalidation and naming things. – Phil Karlton Yeah, we’ve all heard this line before. But like with many truisms, there’s actually a lot of truth to this. Naming things (and cache invalidation for that matter) can be quite challenging. Some people like finding solutions where they don’t have to name things. Or at least the names can be more practical and immediate, less philosophical and “big picture”. A function name like gonculateWidgetData makes sense if you’re writing a function to, well, gonculate the widget data. Right?? If you h
Explore this link on the map →related reading
- GitHub - andredesousa/css-best-practices: This is a guideline of CSS best practices that you can apply to your front-end project. · GitHubgithub.com
- Building a Design System from scratch - The Blog of Maxime Heckelblog.maximeheckel.com
- Impeccable: The missing upgrade to Anthropic's impeccable skillimpeccable.style
- Design system components, recipes, and snowflakes | Brad Frostbradfrost.com
- Designing Systems | Atomic Design by Brad Frostatomicdesign.bradfrost.com
- Web Field Manual | Codewebfieldmanual.com
- Thinking in StyleX | StyleXstylexjs.com
- Say precisely what you mean.index.how
- Two Steps Forward, One Step Back | Jxnblkjxnblk.com
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- CSS modules | Mantinemantine.dev
- Why I Love Tailwind | Max Stoiber (@mxstbr)mxstbr.com