4 ms·
,,50kb is an absurdly small.... responsive queries so that your site looks great on mobile and desktop (and tablet and landscape and Android and iPhone.)'' Why
by xiphias2 8y ago
,,50kb is an absurdly small.... responsive queries so that your site looks great on mobile and desktop (and tablet and landscape and Android and iPhone.)''
Why would I need CSS for iPhone? I don't have an iPhone. Also I'm now browsing from my laptop, so I don't need mobile specific CSS either. Isn't there a way for the responsive site to load CSS specific to the device/display?
- untog 8y agoNo. Especially not with AMP, because Google sits between you and your user so you never get to know what device they are using. In theory on your own site you could use user agent sniffing to worn out what CSS to send, but it's still not a great idea because you'll be wrong at least some of the time.
- 33degrees 8y agoUser agent sniffing is how we ended up with things like "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36"
- sgjohnson 8y agoHey, you weren't kidding. Mine is Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15
- rolph 8y ago"you'll be wrong at least some of the time." I think the adoption rate for UserAgentSpoofers, could be a related metric, approximating the value of "some of the time" my user agent rotates randomly, or when the spoofer button is clicked
- BenMorganIO 8y agoYou can sort of, but you'd need your own server. Google has control over this and I'm not sure if they permit different content for each device. They probably don't.