DEV Community

Discussion on: What's your favorite CSS approach?

etienneburdet profile image
Etienne Burdet • Edited on

Global variables + scoped styles (mainly through Sass and Svelte). Eventually with pure CSS framework to avoid reimplementing well known things (Bulma is really good at that).

Global variables ensure coherence over the whole project. Scoped style per components make selectors easy and removes much of the naming headache.