DEV Community

loading...

Discussion on: What's your favorite CSS approach?

Collapse
etienneburdet profile image
Etienne Burdet • Edited

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.