3 ms·
the components should be reusable, not the styles on them. Besides global font settings CSS nowadays is mostly used for positioning and isn't reusable.
by throwasehasdwi 9y ago
the components should be reusable, not the styles on them.
Besides global font settings CSS nowadays is mostly used for positioning and isn't reusable.
- drderidder 9y agoFor components, bundling the CSS makes sense. For other use cases external CSS resources with inheritance are very beneficial.See for example Scalable and Modular Architecture for CSS or any modern CSS framework for lots of examples.