3 ms·
I agree about using a server-side program to dynamically create CSS, but I still think it would be beneficial to have CSS variables. First, having native suppo
by Hexstream 19y ago
I agree about using a server-side program to dynamically create CSS, but I still think it would be beneficial to have CSS variables.
First, having native support for variables in CSS would eventually simplify the implementation of a proper (separation of variables from declarations among other things) "CSS compiler". It would also promote a better style of CSS because I don't think very many people use a framework with CSS variable/declaration separation.
Second, in theory CSS is the domain of designers and they presumably use "standard" tools to edit CSS directly so they don't have variable support I'm guessing?... I'm sure we could be surprised how much CSS is edited by hand.