3 ms·
You're right that size ≠ complexity. However there's a vast difference between a web page with some fancy CSS and some JavaScript demo scene project. You can h
by giantrobot 6y ago
You're right that size ≠ complexity. However there's a vast difference between a web page with some fancy CSS and some JavaScript demo scene project.
You can have a very fancy looking page with a few KB of CSS that will render just fine on even low end modern devices. You'd have to go back almost a decade to find devices that would struggle on such non-demoscene-yet-fancy CSS.
Layout engines in browsers are pretty efficient and a fancy looking page without a bunch of JavaScript churning in the background fucking with the DOM or making a bunch of requests is not that demanding.
The CSS Zen Garden [0] did some fancy ass layouts with CSS 2 and launched in 2003 running on browsers and computers far shittier than today's low end phones and PCs. With CSS3's advancements like transforms, transparencies, and animations there's a lot of effects that can be done entirely in CSS that those old designs needed images to do.
[0] https://github.com/mezzoblue/csszengarden.com https://github.com/mezzoblue/csszengarden.com