3 ms·
How about just serving the CSS directly? It could even be generated from JS with a tool like this one. Now you don't even have to serve the JS that generates it
by userbinator 11y ago
How about just serving the CSS directly? It could even be generated from JS with a tool like this one. Now you don't even have to serve the JS that generates it.
- err4nt 11y agoIt would seem that Descartes allows you to change the values of the CSS _after_ page load, which no amount of precompiling can do! This is what plugins like Descartes are trying to solve - how do we inform CSS of values on the page which may be different between different browsers or users, or may change on the page after it loads as users interact with it. http://elementqueries.com/demos/variables.html http://elementqueries.com/demos/variables.html Here's an example using EQCSS of accessing JavaScript Variables from CSS - I'd ~LOVE~ to see what CSS you could prepare and send in advance that would produce the same thing. It can't be done :)
- herbst 11y agoThats not was CSS is supposed to do. I am happy its not possible, else even more people would exploit it.