-
-
Save vergissberlin/235171acb47f9be7aaa8 to your computer and use it in GitHub Desktop.
With placeholdit dummy picture for live testing your devices
This file contains 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
<!doctype html> | |
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
<html> | |
<head> | |
<title>iOS 8 web app</title> | |
<!-- CONFIGURATION --> | |
<!-- Allow web app to be run in full-screen mode. --> | |
<meta name="apple-mobile-web-app-capable" | |
content="yes"> | |
<!-- Make the app title different than the page title. --> | |
<meta name="apple-mobile-web-app-title" | |
content="iOS 8 web app"> | |
<!-- Configure the status bar. --> | |
<meta name="apple-mobile-web-app-status-bar-style" | |
content="black"> | |
<!-- Set the viewport. --> | |
<meta name="viewport" | |
content="initial-scale=1"> | |
<!-- Disable automatic phone number detection. --> | |
<meta name="format-detection" | |
content="telephone=no"> | |
<!-- ICONS --> | |
<!-- iPad retina icon --> | |
<link href="http://placehold.it/152x152" | |
sizes="152x152" | |
rel="apple-touch-icon-precomposed"> | |
<!-- iPad retina icon (iOS < 7) --> | |
<link href="http://placehold.it/144x144" | |
sizes="144x144" | |
rel="apple-touch-icon-precomposed"> | |
<!-- iPad non-retina icon --> | |
<link href="http://placehold.it/76x76" | |
sizes="76x76" | |
rel="apple-touch-icon-precomposed"> | |
<!-- iPad non-retina icon (iOS < 7) --> | |
<link href="http://placehold.it/72x72" | |
sizes="72x72" | |
rel="apple-touch-icon-precomposed"> | |
<!-- iPhone 6 Plus icon --> | |
<link href="http://placehold.it/180x180" | |
sizes="120x120" | |
rel="apple-touch-icon-precomposed"> | |
<!-- iPhone retina icon (iOS < 7) --> | |
<link href="http://placehold.it/114x114" | |
sizes="114x114" | |
rel="apple-touch-icon-precomposed"> | |
<!-- iPhone non-retina icon (iOS < 7) --> | |
<link href="http://placehold.it/57x57" | |
sizes="57x57" | |
rel="apple-touch-icon-precomposed"> | |
<!-- STARTUP IMAGES --> | |
<!-- iPad retina portrait startup image --> | |
<link href="http://placehold.it/1536x2008" | |
media="(device-width: 768px) and (device-height: 1024px) | |
and (-webkit-device-pixel-ratio: 2) | |
and (orientation: portrait)" | |
rel="apple-touch-startup-image"> | |
<!-- iPad retina landscape startup image --> | |
<link href="http://placehold.it/1496x2048" | |
media="(device-width: 768px) and (device-height: 1024px) | |
and (-webkit-device-pixel-ratio: 2) | |
and (orientation: landscape)" | |
rel="apple-touch-startup-image"> | |
<!-- iPad non-retina portrait startup image --> | |
<link href="http://placehold.it/768x1004" | |
media="(device-width: 768px) and (device-height: 1024px) | |
and (-webkit-device-pixel-ratio: 1) | |
and (orientation: portrait)" | |
rel="apple-touch-startup-image"> | |
<!-- iPad non-retina landscape startup image --> | |
<link href="http://placehold.it/748x1024" | |
media="(device-width: 768px) and (device-height: 1024px) | |
and (-webkit-device-pixel-ratio: 1) | |
and (orientation: landscape)" | |
rel="apple-touch-startup-image"> | |
<!-- iPhone 6 Plus portrait startup image --> | |
<link href="http://placehold.it/1242x2148" | |
media="(device-width: 414px) and (device-height: 736px) | |
and (-webkit-device-pixel-ratio: 3) | |
and (orientation: portrait)" | |
rel="apple-touch-startup-image"> | |
<!-- iPhone 6 Plus landscape startup image --> | |
<link href="http://placehold.it/1182x2208" | |
media="(device-width: 414px) and (device-height: 736px) | |
and (-webkit-device-pixel-ratio: 3) | |
and (orientation: landscape)" | |
rel="apple-touch-startup-image"> | |
<!-- iPhone 6 startup image --> | |
<link href="http://placehold.it/750x1294" | |
media="(device-width: 375px) and (device-height: 667px) | |
and (-webkit-device-pixel-ratio: 2)" | |
rel="apple-touch-startup-image"> | |
<!-- iPhone 5 startup image --> | |
<link href="http://placehold.it/640x1096" | |
media="(device-width: 320px) and (device-height: 568px) | |
and (-webkit-device-pixel-ratio: 2)" | |
rel="apple-touch-startup-image"> | |
<!-- iPhone < 5 retina startup image --> | |
<link href="http://placehold.it/640x920" | |
media="(device-width: 320px) and (device-height: 480px) | |
and (-webkit-device-pixel-ratio: 2)" | |
rel="apple-touch-startup-image"> | |
<!-- iPhone < 5 non-retina startup image --> | |
<link href="http://placehold.it/320x460" | |
media="(device-width: 320px) and (device-height: 480px) | |
and (-webkit-device-pixel-ratio: 1)" | |
rel="apple-touch-startup-image"> | |
<!-- HACKS --> | |
<!-- Prevent text size change on orientation change. --> | |
<style> | |
html { | |
-webkit-text-size-adjust: 100%; | |
} | |
body { | |
padding: 20px 30px; | |
font-family: Helvetica Neue, Helvetica, Arial; | |
background-color: #222; | |
color: #f1f1f1; | |
} | |
</style> | |
</head> | |
<body> | |
<h1>iOS 8 web app</h1> | |
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum | |
sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, | |
pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, | |
vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede | |
mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. | |
Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, | |
feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam | |
ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. | |
</p> | |
<p> | |
Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. | |
Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. | |
Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus | |
tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget | |
bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero. Fusce vulputate eleifend sapien. | |
Vestibulum purus quam, scelerisque ut, mollis sed, nonummy id, metus. Nullam accumsan lorem in dui. Cras ultricies | |
mi eu turpis hendrerit fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia | |
Curae; In ac dui quis mi consectetuer lacinia. Nam pretium turpis et arcu. | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment