Y
Hacker News
new
|
ask
|
show
|
jobs
by
throwasehasdwi
3284 days 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.
1 comments
drderidder
3278 days ago
For 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.
link