2

what do I have to do to make my web apps/sites retina-ready (on iPhone4 & iPad3) when it comes to

  • videos
  • images
  • fonts
  • colors ?

I'm looking for a checklist here.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
ezmilhouse
  • 8,933
  • 7
  • 29
  • 38
  • 1. Buy The New iPad 2. Load App or web page in Safari on The New iPad 3. Analyze... What I'm getting at, is without the device, it's really hard to test. – Michael Rice Mar 17 '12 at 07:50
  • one must google about it instead of asking.. there are countless blog posts on the matter... nothing to add here. – vsync Sep 06 '17 at 14:46

3 Answers3

1

If you're on Rails 3.1+, you can use my clear_eyes gem to automatically handle retina images.

Colors and fonts won't need any adjustments. For example, a CSS button will not require any adjustment, only images and perhaps video.

Here's a very good flowchart of the steps required to completely retina-fy your site, although I recommend using the gem for images, if you're on Rails.

Brian Dear
  • 333
  • 4
  • 11
1

Smashing Magazine: Towards A Retina Web (mostly about graphics)

A. Z.
  • 728
  • 1
  • 11
  • 28
0

for image:

<script>if(window.devicePixelRatio>1)document.getElementsByTagName("img")[0].src="retina.png"</script>

for backgrounds:

<style>
  @media screen and (-moz-min-device-pixel-ratio: 2),
    screen and (-o-min-device-pixel-ratio: 2/1), 
    screen and (-webkit-min-device-pixel-ratio: 2), 
    screen and (min-device-pixel-ratio: 2){

      h1{background-image:url(retina.png)}

  }
</style>
william malo
  • 2,480
  • 2
  • 18
  • 18