Remix.run Logo
Incipient 3 hours ago

As long as css remains "so fast it's free" then I'm mostly happy with that - I use css without thinking about optimisations, and I like it like that!

Sesse__ 3 hours ago | parent | next [-]

You can certainly write slow CSS, and people do :-) JavaScript typically takes up more of the CPU time overall, though.

cryptonym 2 hours ago | parent | prev [-]

It's not free at all. You can profile it with debug tools and find the most expensive selectors to refactor them. You can also write CSS animations that impacts performance/user experience, this can also be profiled.

Sorry but if you use advanced feature and especially on a big DOM, you have to think about optimisations.