3 ms·
The fundamental problem with CSS is that it conflates element content styling, layout directives, and compositing configuration into an unholy mess. One way ou
by pavlov 3y ago
The fundamental problem with CSS is that it conflates element content styling, layout directives, and compositing configuration into an unholy mess.
One way out is to rethink each of these separate problems individually. Element styling is typically about configuring attributes, while layout is more closely related with programming (even if it’s a non-Turing complete environment like constraints). There’s no reason why the same language should try to do both.