4 ms·
"All our imagery is double-resolution, so everything looks sharp on high-density devices..." But you also use normal resolution images, right? Many (if not al
by jbail 15y ago
"All our imagery is double-resolution, so everything looks sharp on high-density devices..."
But you also use normal resolution images, right?
Many (if not all) low resolution Android devices aren't able to scale images down by using background-size. Since it doesn't work, the UI gets blown out by huge images that haven't been scaled.
Just curious on that implementation detail since dual sized images for low to high res screens is something I deal with in my day to day mobile web work.
Nice work though. The mobile site looks really good.
- jaffathecake 15y agoWe were hoping to get away with a single double density sprite, but alas, as you point out, not all devices support background-size. Not just old Android, but also old Blackberry (pre webkit), and Opera Mini. We feature detect background-size in the head of the page and add a class name to the html element. We need to browser sniff opera mini as it gives a false positive on the test. We only offline cache the larger sprite, assuming browsers that support appcache also support background-size.