3 ms·
> Does the server get the viewport size as part of the request? ...oh, uh, no, that was dumb of me. I do still wonder though if auto-generating a css file wit
by Wowfunhappy 5y ago
> Does the server get the viewport size as part of the request?
...oh, uh, no, that was dumb of me.
I do still wonder though if auto-generating a css file with lots of media queries would be feasible.
- somebodythere 5y agoSure, you only need tens of breakpoints setting one style rule each. Gzipped I bet it would weigh about as much as the JS text-wrapper implementation.
- Wowfunhappy 5y agoIt should be lighter on CPU though, and avoid a FOUC.