Here are some examples of how you can serve up a higher resolution image for retina displays:
Code:
@media all and (-webkit-min-device-pixel-ratio: 1.5) {
#logo {
background-image: url('/images/my_image@2x.png');
background-size: 200px 100px;
}
}
Code:
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
header h1 a {
background-image: url(images/blogspoon-logo@2x.png);
background-size: 164px 148px;
}
}
In terms of testing, you can slip in to your local Apple retailer and check out your sites on their display devices.
Bookmarks