3 ms·
>you lose the cascading advantage What? Components and cascading? Only inline styles make sense if we are talking components. Each component must be self-conta
by onion-soup 9y ago
>you lose the cascading advantage
What? Components and cascading? Only inline styles make sense if we are talking components. Each component must be self-contained, pure and predictive. Why the hell do we want 90s technology again?
- Pxtl 9y agoThis. You can have global styling, or you can have properly-encapsulated components. The more you try to have it both ways, the more they step on each other's toes. And for me personally, at least for heavy-duty web applications, modular components are far more useful.
- talmand 9y agoYou can do component-based, self-contained CSS without inline styles. I would recommend you not use inline styles when it's easy enough to do what you want the CSS way.