Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title></title>
  <style type="text/css">
    table {
      border-collapse: collapse;
      mso-table-lspace: 0pt;
      mso-table-rspace: 0pt;
    }
    table td {
      border-collapse: collapse;
    }
    body {
      -ms-text-size-adjust: 100%;
      margin: 0;
      padding: 0;
      color: #e0e6e6;
      font-family: 'FullerSansDT Regular', Helvetica;
      font-size: 14px;
      mso-margin-top-alt: 0px;
      mso-margin-bottom-alt: 0px;
      mso-padding-alt: 0px 0px 0px 0px;
    }
    .ExternalClass {
      width: 100%;
    }
    .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {
      line-height: 100%;
    }
    img {
      outline: none;
      text-decoration: none;
      -ms-interpolation-mode: bicubic;
    }
    a img {
      border: none;
    }
    html {
      -webkit-text-size-adjust: none !important;
    }
    table {
      border-collapse: collapse;
      mso-table-lspace: 0pt;
      mso-table-rspace: 0pt;
    }
    .appleLink-cecece a {
      color: #cecece !important;
      text-decoration: none;
    }
    @media screen {
      @font-face {
        font-family: 'FullerSansDT Regular';
        src: url('  ');
      }
      @font-face {
        font-family: 'FullerSansDT Bold';
        src: url('https://d2gpw04v015qcw.cloudfront.net/fonts/fuller_sans_dt/bold/2DC1D5_0_0-3c66aef6.woff');
      }
      @font-face {
        font-family: 'FullerSansDT ExtraLight';
        src: url('http://marketing-assets.nest.com/email-assets/fonts/FullerSansDT_ExtraLight.woff');
      }
      @font-face {
        font-family: 'AkkuratPro Regular';
        src: url('https://nest.com/fonts/lineto_akkurat_pro/regular.woff?email');
      }
      @font-face {
        font-family: AkkuratProLight;
        src: url('https://nest.com/fonts/lineto_akkurat_pro/light.woff?email');
      }
      @font-face {
        font-family: 'AkkuratPro Bold';
        src: url('https://nest.com/fonts/lineto_akkurat_pro/bold.woff?email');
      }
    }
    
    @media only screen and (min-width: 738px) {
    .font-weight-normal {
      font-weight: normal !important;
    }
    }
    
    @media only screen and (max-device-width: 737px) {
    .font-weight-normal {
      font-weight: normal !important;
    }
    .mobile-full-width {
      width: 100% !important;
    }
    .hero {
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .side-padding {
      padding-left: 25px !important;
      padding-right: 25px !important;
      padding-bottom: 20px !important;
    }
    .mobile-display {
      display: block !important;
      width: 100% !important;
      height: auto !important;
      overflow: visible !important
    }
    .mobile-hide {
      display: none !important; 
    }
    .logo-cell {
      padding-right: 5px !important;
    }
    .paragraph {
      font-size: 15px !important;
      line-height: 19px !important;  
    }
    .padding-top-0 {
      padding-top: 0px !important;
    }
    .padding-right-0 {
      padding-right: 0px !important;
    }
    .padding-bottom-0 {
      padding-bottom: 0px !important;
    }
    .padding-left-0 {
      padding-left: 0px !important;
    }
    .mobile-button {
      padding: 8px 20px !important;
      font-size: 14px !important;
    }
    .mobile-button-a {
      font-size: 14px !important;
    }
    }
    
    /* TARGET IPHONE 5 OR LESS */
    @media only screen and (min-device-width: 219px) and (max-device-width: 374px) {
    }
    
    /* TARGET IPHONE 6 */
    @media only screen and (min-device-width: 375px) and (max-device-width: 413px) {
    }
    
    /* TARGET IPHONE 6+ */
    @media only screen and (min-device-width: 414px) and (max-device-width: 735px) {
    }
    
    /* TARGET OUTLOOK.COM */
    .ExternalClass .outlook-button {
      padding: 7px 30px 9px !important;
    }
    .ExternalClass .font-weight-normal {
      font-weight: bold !important;
    }
    .ExternalClass .font-weight-normal {
      font-weight: bold !important;
    }
  </style>
  <!--[if gte mso 9]>
  <style type="text/css" media="all">
    .outlook-button {
      padding: 7px 30px 9px !important;
    }
  </style>
<![endif]-->
</head>

<body class="font-size-14px" style="-webkit-text-size-adjust: none; color: #e8eaed; font-family: 'FullerSansDT Regular',Helvetica; font-size: 14px; -ms-text-size-adjust: 100%; mso-margin-top-alt: 0px; mso-margin-bottom-alt: 0px; mso-padding-alt: 0px 0px 0px 0px; margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; background-color: #e8eaed;"
  alink="#00afd8" link="#00afd8" bgcolor="#e8eaed" text="#e8eaed">
  <div style="width:100%; background-color: #e8eaed; margin-left:auto; margin-right:auto;">
    <center>
      <div style="position: relative; width: 100%; max-width: 630px; margin-left: auto; margin-right: auto;">
        <!--[if gte mso 9]>
          <table width="630" style="width:630px; max-width: 630px">
            <tr>
              <td width="630">
        <![endif]-->
        <table class="mobile-full-width" align="center" width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff" style="max-width: 630px; border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
          <tbody>
            <tr>
              <td width="100%" class="padding-top-0 padding-right-0 padding-left-0 padding-bottom-0" align="center" valign="top" style="border-collapse: collapse; background-color: #ffffff; padding-top: 15px; padding-right: 15px; padding-bottom: 0px; padding-left: 15px;">
                <!-- HERO -->
                <table class="mobile-full-width" align="center" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#f3f3f3" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
                  <tbody>
                    <tr>
                      <td width="100%" align="center" style="border-collapse: collapse;">
                        <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
                          <!--[if gte mso 9]>
                        <tr>
                          <td align="left">
                            <img src="http://marketing-assets.nest.com/email-assets/images/recurrent/family-accounts/family_accounts_hero_en-US_V2.jpg" width="600" height="230" border="0" alt="" style="display:block" />
                          </td>
                        </tr>
                      <![endif]-->
                          <tbody>
                            <tr style="mso-hide: all;">
                              <td width="100%" class="mobile-hide" style="border-collapse: collapse; color: #7b858e; font-size: 16px; line-height: 21px; font-family: 'FullerSansDT Regular', Helvetica, Arial, sans-serif; text-align: left; mso-hide: all" align="center">
                                <img src="http://marketing-assets.nest.com/email-assets/images/recurrent/family-accounts/family_accounts_hero_en-US_V2.jpg" width="100%" class="mobile-hide" style="max-width: 600px; display: block;" alt="">
                              </td>
                            </tr>
                            <tr style="mso-hide: all;">
                              <td width="0" height="0" class="mobile-display" style="border-collapse: collapse; font-size: 0px; line-height: 0px; display: none; overflow: hidden" align="center">
                                <img src="http://marketing-assets.nest.com/email-assets/images/recurrent/family-accounts/family_accounts_hero_mobile_en-US.jpg" width="0" height="0" class="hero" style="display: none;">
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
                <!-- /HERO -->
                <table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#f3f3f3" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
                  <tbody>
                    <tr>
                      <td class="side-padding" width="100%" style="border-collapse: collapse; padding-left: 72px; padding-right: 72px; padding-bottom: 59px;">
                        <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
                          <tbody>
                            <tr>
                              <td class="hl" width="100%" align="center" style="border-collapse: collapse; color: #00afd8; font-size: 34px; line-height: 41px; font-family: AkkuratProLight, Helvetica, Arial, sans-serif; text-align: left; font-weight: 100; padding-top: 20px; padding-bottom: 15px;">
                                You have an open invitation.
                              </td>
                            </tr>
                            <tr>
                              <td class="paragraph" width="100%" align="center" style="border-collapse: collapse; color: #7b858e; font-size: 14px; line-height: 20px; font-family: 'AkkuratPro Regular', Helvetica, Arial, sans-serif; text-align: left; padding-bottom: 15px">
                                Smiles Davis wants to give you access to the Nest products in the home called Really Good Emails.
                              </td>
                            </tr>
                            <tr>
                              <td class="paragraph" width="100%" align="center" style="border-collapse: collapse; color: #7b858e; font-size: 14px; line-height: 20px; font-family: 'AkkuratPro Regular', Helvetica, Arial, sans-serif; text-align: left; padding-bottom: 15px">
                                All you need is your own Nest Account and the latest version of the Nest app from the <a href="https://itunes.apple.com/app/id464988855" style="color: #00afd8; text-decoration: none" target="_blank">App Store®</a> or
                                <a href="https://play.google.com/store/apps/details?id=com.nest.android" style="color: #00afd8; text-decoration: none" target="_blank">Google Play Store™</a>.
                              </td>
                            </tr>
                            <tr>
                              <td class="paragraph" width="100%" align="center" style="border-collapse: collapse; color: #7b858e; font-size: 14px; line-height: 20px; font-family: 'AkkuratPro Regular', Helvetica, Arial, sans-serif; text-align: left; padding-bottom: 15px">
                                Once you accept this invite and make an account, you'll be able to control all the Nest products in this home from the Nest app and get a monthly Home Report.
                              </td>
                            </tr>
                            <tr>
                              <td class="paragraph" width="100%" align="center" style="border-collapse: collapse; color: #7b858e; font-size: 14px; line-height: 20px; font-family: 'AkkuratPro Regular', Helvetica, Arial, sans-serif; text-align: left; padding-bottom: 15px">
                                If you've been sharing a Nest Account with Smiles Davis, you'll be signed out so that you can create a new account.
                              </td>
                            </tr>
                            <tr>
                              <td width="100%" style="border-collapse: collapse;">
                                <!-- CTA -->
                                <table align="left" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt">
                                  <tbody>
                                    <tr>
                                      <td class="outlook-button" align="center" style="background-color: #00afd8; border-radius: 3px; color:#ffffff; font-family: 'FullerSansDT Regular', Helvetica, Arial, sans-serif; font-size:14px; padding: 8px 30px; line-height:18px; font-weight:bold; text-align:center; text-decoration:none; -webkit-text-size-adjust:none; text-transform: uppercase"><a href="#" target="_blank" style="background-color: #00afd8; border-radius: 3px; color:#ffffff;
                              font-family: 'FullerSansDT Regular', Helvetica, Arial, sans-serif; font-size:14px; font-weight:bold; text-align:center; text-decoration:none; -webkit-text-size-adjust:none; text-transform: uppercase">ACCEPT INVITATION</a>
                                      </td>
                                      <td style="padding-left: 20px">
                                        <a href="https://nest.com/support/article/Learn-more-about-Family-Accounts-and-inviting-people-to-access-your-Nest-home?utm_campaign=family-account-invite&amp;utm_content=learn-more&amp;utm_medium=mtx-email&amp;utm_source=nest-customers" target="_blank"
                                          style="font-family: 'AkkuratPro Regular', Helvetica, Arial, sans-serif; color: #00afd8; text-decoration: none">Learn more&nbsp;&gt;</a>
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                              </td>
                            </tr>
                            <tr>
                              <td width="100%" style="border-collapse: collapse; padding-top: 20px">
                                <!-- /CTA -->
                                <table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
                                  <tbody>
                                    <tr>
                                      <td width="100%" style="border-collapse: collapse; color: #7b858e; font-size: 12px; line-height: 18px; font-family: AkkuratProLight, Helvetica, Arial, sans-serif; font-weight: 100; padding-top: 20px; border-top: 1px solid #cacaca; text-align: left;">
                                        You are receiving this email because Smiles Davis sent you this invitation.
                                      </td>
                                    </tr>
                                  </tbody>
                                </table>
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
          </tbody>
        </table>
        <!--[if (gte mso 9)|IE]>
            </td>
          </tr>
        </table>
        <![endif]-->
      </div>
    </center>
    <!-- footer -->
    <center>
      <div style="position: relative; width:100%; background-color: #7b858d; margin-left:auto; margin-right:auto;">
        <table width="100%" border="0" bgcolor="#7b858d" align="center" cellpadding="0" cellspacing="0" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
          <tbody>
            <tr>
              <td bgcolor="#7b858d" class="footer-cell" align="center" style="text-align: center; font-family: AkkuratProLight, Helvetica; font-size: 9px; color: #ffffff; line-height: 19px; padding-top: 20px; padding-bottom: 22px; border-collapse: collapse;">©2016 Nest Labs Inc.&nbsp;<a href="#" style="color: #ffffff; text-decoration: none;" target="_blank">3400 Hillview Ave. Palo Alto, CA 94304</a><br><a href="https://nest.com/legal/privacy-statement-for-nest-products-and-services/?utm_campaign=family-account-invite&amp;utm_content=footer-privacy&amp;utm_medium=mtx-email&amp;utm_source=nest-customers"
                  style="color: #ffffff; text-decoration: none;" target="_blank">Privacy Policy</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="https://nest.com/legal/terms-of-service/?utm_campaign=family-account-invite&amp;utm_source=nest-customers&amp;utm_medium=mtx-email&amp;utm_content=footer-terms"
                  style="color: #ffffff; text-decoration: none;" target="_blank">Terms &amp; Conditions</a></td>
            </tr>
          </tbody>
        </table>
      </div>
    </center>
    <!-- /footer -->
  </div>


</body>
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console