Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
 xmlns:v="urn:schemas-microsoft-com:vml"
 xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!--[if !mso]><!-- --><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]-->
<meta name="format-detection" content="telephone=no">
<meta name="x-apple-disable-message-reformating" />
<meta name="x-apple-disable-message-reformatting">
<!--Built in London by the ActionRocket team - @ActionRocket -->
<title>iOS AR</title>
<style type="text/css">
* {
	mso-line-height-rule: exactly;
}
* {
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
}
table td {
	border-collapse: collapse;
}
html, body, p, div {
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
}
.ExternalClass {
	width: 100%;
}
.ExternalClass * {
	line-height: 110%
}
img {
	-ms-interpolation-mode: bicubic;
	border: 0;
}
body {
	margin: 0!important;
	padding: 0!important;
	width: 100%!important;
}
</style>
<style type="text/css">
div[style*="margin: 16px 0"] {
	margin: 0!important;
}
a[x-apple-data-detectors] {
	color: inherit!important;
	text-decoration: none!important;
	font-size: inherit!important;
	font-family: inherit!important;
	font-weight: inherit!important;
	line-height: inherit!important;
}
u + #body a {
	color: inherit;
	text-decoration: none;
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	line-height: inherit;
}
</style>
	<style type="text/css">
@media screen and (max-device-width:500px), screen and (max-width:500px) {
.w100pc {
	width: 100%!important;
	min-width: 100%!important;
	max-width: 1000px!important;
	height: auto!important;
}
		}
	</style>
	
<style type="text/css">
@supports (-webkit-overflow-scrolling: touch) {
	.showar {
		display:block!important;
	}
	.hidear {
		display:none!important;
	}
}
	</style>

<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:AllowPNG/>
  <o:PixelsPerInch>96</o:PixelsPerInch>
 </o:OfficeDocumentSettings>
</xml><![endif]-->

<!--[if (mso)|(mso 16)]>
<style type="text/css">
body, table, td, a, span { font-family: Arial, Helvetica, sans-serif !important; }
a {text-decoration: none;}
</style>
<![endif]-->

</head>

<body style="margin:0!important; padding:0!important; width:100%!important;" class="body" id="body">

<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="f3f3f3">
  <tr>
	  <td align="center">
	<table width="500" border="0" cellspacing="0" cellpadding="0" class="w100pc" bgcolor="#000000">
  <tr>
	  <td align="center">
	  <img style="display:block;" border="0" src="https://arcdn.net/ActionRocket/Blog-article/ios-ar/images/ios-ar-logo.png" width="150" height="150" alt="iOS AR Logo">
	  </td>
	</tr>
		<tr>
		<td align="center" align="middle" style="font-family: Helvetica, Arial, sans-serif; line-height: 24px; color: #ffffff; text-decoration: none; font-size: 28px; line-height: 32px; padding: 0 0 25px 0;">
			Augmented Reality<br><span style="font-size: 24px;">for iOS</span></td>
		</tr>
	</table>

<table width="500" border="0" cellspacing="0" cellpadding="0" class="w100pc" bgcolor="#000000">
  <tr>
	  <td align="center">
	  <img style="display:block;" border="0" src="https://arcdn.net/ActionRocket/Blog-article/ios-ar/images/ios-ar-hero.gif" width="500" height="375" alt="iOS AR Hero Promo" class="w100pc">
	  </td>
	</tr>
	</table>
	
<table width="500" border="0" cellspacing="0" cellpadding="0" class="w100pc" bgcolor="#000000">
  <tr>
    <td align="center" class="showar" style="display:none;">
		<div><a rel="ar" href="https://developer.apple.com/augmented-reality/quick-look/models/stratocaster/fender_stratocaster.usdz"><img src="https://arcdn.net/ActionRocket/Blog-article/ios-ar/images/stratocaster-black.jpg" width="100%"></a> </div>
	  </td>
	  <td align="center" class="hidear" style="display:block;">
		<div><img src="https://arcdn.net/ActionRocket/Blog-article/ios-ar/images/stratocaster-black.jpg" width="200" class="w100pc"></a> </div>
	  </td>
	  <td align="left" align="middle" style="font-family: Helvetica, Arial, sans-serif; line-height: 24px; color: #ffffff; text-decoration: none; padding-top: 10px; font-size: 20px;" valign="top">
	  Try out a stratacaster at home<br><span style="font-size: 14px;">Check out the new iOS Augmented reality for yourself.</span>
	  </td>
  </tr>
</table>
		  <table width="500" border="0" cellspacing="0" cellpadding="0" class="w100pc" bgcolor="#000000">
  <tr>
	  <td align="left" align="middle" style="font-family: Helvetica, Arial, sans-serif; line-height: 12px; color: #ffffff; text-decoration: none; padding: 0 0  20px 20px; font-size: 10px;" valign="top">
	  Copyright © 2018 Apple Inc.<br>Re-created to help email developers use iOS AR Kit 2.0</td>
			  </tr>
		  </table>
	  </td>
	</tr>
	</table>
</body>
</html>

              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console