Created
July 3, 2012 11:11
-
-
Save cfenzo/3039125 to your computer and use it in GitHub Desktop.
apple-touch-startup-image for iOS devices (CSS only solution)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 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