blergh, it's very frustrating how css isn't modular in the way js is modular.
-
blergh, it's very frustrating how css isn't modular in the way js is modular.
what do i mean by that? well we can have css variables, finally! but they're globally scoped. you can't just locally override them on a component, you have to have a new style for the component that instead doesn't refer to that variable.
-
@dysfun A part of it is because they're envisioned as a set of generally applicable rules, and the theories about modularising those in easy-to-understand way are not yet widely understood for people who string the purses to buy the idea that they're easy to understand.
-
@riley the understandability ship sailed, i mean *look at it*
-
@dysfun You're looking at it from the perspective of somebody writing CSS, but you need to look at it from the perspective of a zillionaire who thinks that engineers are stupid people who can't even figure out how to make their first billion dollars, so they must really suck at stringing two words together.
-
Jocelynephiliac :reclaimer:replied to gaytalogger last edited by
-
Riley S. Faelanreplied to Jocelynephiliac :reclaimer: last edited by