Closed lucas-aragno closed 7 years ago
Hey!
So yeah, the link @mhairston posted is a pretty good summary of my thoughts. To expand a little more though:
#header ul li a span{}
) is like sentences. We can compose letters, sure, but we don’t because that’s too granular and on their own they lack any meaning. We can’t really compose sentences too well because they’re pretty inflexible: this only works if we have the correct sentence(s) at the correct time(s). Words are the perfect level of granularity: they’re incredibly composable and have meaning in-and-of themselves. For me, this is encapsulation without too much constraint..blk
class to be red.
I think this article might contain your answer: https://csswizardry.com/2015/03/can-css-be-too-modular/