3 ms·
> I think they believe that the only separation is styling/not-styling, because behaviour is very tied to structure anyway. I "believe" even harder :) CSS coul
by bvrmn 2y ago
> I think they believe that the only separation is styling/not-styling, because behaviour is very tied to structure anyway.
I "believe" even harder :) CSS could be used as a completely separate thing. But from practical standpoint it's quite beneficial to tie it to html structure.
UI component is a single entity defined by highly cohesive set of structure, behavior and style. The reason to change often touches two of them and sometimes all three.
IMHO the only easily safely separable styling is color and almost safe are font and base scaling.