4 ms·
It is. In a presentation at Superconf, one of the Github designers (whose name escapes me) said that they serve some images at high resolution and resize in the
by bonzoesc 15y ago
It is. In a presentation at Superconf, one of the Github designers (whose name escapes me) said that they serve some images at high resolution and resize in the HTML tags for the benefit of iPhones 4 and other high-dpi devices.
- tlrobinson 15y agoCan't this be handled with multiple stylesheets?
- sirn 15y agoYou can even handle it with a single stylesheet, i.e. with `min-device-pixel-ratio`.
- bkbleikamp 15y agoWe do it so that when people zoom in on the site (using `⌘ + +` on a Mac) the image doesn't become pixelated and ugly. We do it with most other images, too.
- Genmutant 15y agoWell this way it's pixelated and ugly by default. I don't think that's better.
- bkbleikamp 15y agoWhat browser/OS are you in? It looks pretty reasonable in Chrome on OSX; we spent a decent amount of time trying to get it as close as we could. Some browsers do weird math on resizing.
- Genmutant 15y agoWin7, FF11 (current). You're right, it looks better in Chrome.