CSS Modules Over Tailwind for a Solo Portfolio

Tailwind is excellent for product teams with a shared design language. A solo portfolio with radically different templates is the opposite problem: each layout wants its own palette, type scale, and motion. I stayed on CSS Modules and vanilla CSS.

GithubTemplate.module.css does not fight CyberpunkTemplate.module.css. Class names stay scoped. Dead CSS dies with the file. No hunting for which utility combination produced a one-off glass card three templates ago.

Global rules in index.css stay minimal — fonts, reset, tokens that truly are shared. Everything else is template-local.

← Rafael González Albes