3 ms·
You absolutely don't have to name everything in CSS. Naming components is sufficient. And you already need to do that. Using good HTML markup provides you with
by emmacharp 3y ago
You absolutely don't have to name everything in CSS. Naming components is sufficient. And you already need to do that. Using good HTML markup provides you with 80% of the styling hooks you need in a component. Specificity management and flexibility can be baked in too.
As for the media queries being hard/tiresome to write, don't we have IDE auto-completion for this exact purpose?