Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tlrobinson
· 14y ago · 0 comments
Can't this be handled with multiple stylesheets?
Comments
[–]
bkbleikamp
14y ago
We 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
14y ago
Well this way it's pixelated and ugly by default. I don't think that's better.
[–]
bkbleikamp
14y ago
What 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
14y ago
Win7, FF11 (current). You're right, it looks better in Chrome.
[–]
sirn
14y ago
You can even handle it with a
single
stylesheet, i.e. with `min-device-pixel-ratio`.