Skip to content

Instantly share code, notes, and snippets.

@FiNGAHOLiC
Created February 6, 2012 08:59
Show Gist options
  • Save FiNGAHOLiC/1750877 to your computer and use it in GitHub Desktop.
Save FiNGAHOLiC/1750877 to your computer and use it in GitHub Desktop.
apple-touch-startup-image for iOS devices (CSS only solution)
<!-- 320x460 for iPhone 3GS -->
<link rel="apple-touch-startup-image" media="(max-device-width: 480px) and not (-webkit-min-device-pixel-ratio: 2)" href="startup-iphone.png" />
<!-- 640x920 for retina display -->
<link rel="apple-touch-startup-image" media="(max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)" href="startup-iphone4.png" />
<!-- iPad Portrait 768x1004 -->
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: portrait)" href="startup-iPad-portrait.png" />
<!-- iPad Landscape 1024x748 -->
<link rel="apple-touch-startup-image" media="(min-device-width: 768px) and (orientation: landscape)" href="startup-iPad-landscape.png" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment