Click here for the new  weblog.

Provide Retina Pictures via CSS

The new iPad has arrived and with it the need to provide Retina optimized images not only for Apps, but for websites as well:

@media only screen and (-webkit-min-device-pixel-ratio: 2) {
background: transparent url(path_to/2x.png);
}

  1. do-nothing reblogged this from moapp
  2. rihards reblogged this from moapp
  3. nguyenvu reblogged this from moapp
  4. moapp posted this