Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.


                <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<!-- QUESTIONS? TWEET US @litmusapp -->
<html xmlns=""
lang="en" xml:lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<style type="text/css">
#outlook a{padding:0;}
.ReadMsgBody{width:100%;} .ExternalClass{width:100%;}
.ExternalClass, .ExternalClass span, .ExternalClass td, .ExternalClass div {line-height: 100%;}
a {text-decoration: none;}
body, table, td, a{-webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;}
table, td{mso-table-lspace:0pt; mso-table-rspace:0pt;}
img {-ms-interpolation-mode:bicubic; display: block; border:0; height:auto; line-height:100%; outline:none; text-decoration:none;}
body {height:100% !important; margin:0 !important; padding:0 !important; width:100% !important;}

@media only screen and (max-width: 800px) {
  .w100p { width: 100% !important; }
	.img-max {
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
  opacity: 0 !important;
  transition: 0.3s !important;
.showvideo { transition: 0.3s !important; }
<!--[if gte mso 9]><xml>
<body class="body" style="padding:0; margin:0; text-align:center; background-color: #7b72dc;">

<div style="width: 100%; text-align:center; margin: 0 auto;">

<!-- start HIDE_METHOD -->
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0"><tr>
<td align="center" bgcolor="#7b72dc" valign="top" style="padding: 0px 15px;">
<table role="presentation" class="w100p" cellpadding="0" cellspacing="0" border="0" style="width: 750px; max-width: 750px;"><tr>
<td class="w100p" align="center" style="width: 750px; max-width: 750px;">

    <table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td style="font-size: 1px; line-height: 40px;">&nbsp;</td></tr></table>
    <!-- start FAUX_VIDEO -->
    <table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr>
        <td background="" bgcolor="#43a1e2" style="background-size: cover; background-position:center !important; border-radius: 10px; box-shadow: 0 15px 35px rgba(50,50,93,.1), 0 5px 15px rgba(0,0,0,.07);" valign="top">
            <table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr>
              <td align="center" valign="middle"><a href=""><img class="showvideo" src="" style="display:block; color: #ffffff; font-family:'proxima_nova', Helvetica, Arial, sans-serif; font-weight:bold; font-size:36px; line-height:40px; width: 600px; max-width: 100%; border-radius: 10px;" width="600" border="0" alt="Play" /></a></td>
    <!-- end FAUX_VIDEO -->

    <table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td style="font-size: 1px; line-height: 30px;">&nbsp;</td></tr></table>
    <h1 class="font30 lh38" style="font-family: 'proxima_nova', Helvetica, Arial, sans-serif; margin: 0; font-size: 40px; line-height: 48px; text-align: center; color: #ffffff; font-weight: bold;">
      Faux Video Example

    <table role="presentation" cellpadding="0" cellspacing="0" border="0"><tr><td style="font-size: 1px; line-height: 50px;">&nbsp;</td></tr></table>
<!-- end HIDE_METHOD -->