Re:Inline CSS works better in a component world
by lioeters on Thursday August 20, 2020 @02:24PM
(#24226631)
Cascading is, to me, like class inheritance in object-oriented style of programming. Useful in some cases, but can become unmanageable with more than a few layers.
The "inline CSS" approach is an escape hatch to avoid cascading styles. I can see its advantages, to apply all (and only) the styles on the component level.
Re:Inline CSS works better in a component world
by lioeters on Thursday August 20, 2020 @05:40PM
(#24229342)
Apparently someone didn't appreciate the jab at OOP. Well, I call it like I see it - seen more messes made by class inheritance and cascading, than without.
The "inline CSS" approach is an escape hatch to avoid cascading styles. I can see its advantages, to apply all (and only) the styles on the component level.