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.

            
              <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title>Square</title>
    <!--[if !mso]>
      <!-->
      <style type="text/css">
        #outlook a {padding:0;}
        body{width:100% !important;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;margin:0;padding:0;}
        .ExternalClass {width:100%;}
        .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div {line-height: 100%;}
        table td {border-collapse: collapse}
        td .preheader { display: none !important;}
  
        @media only screen and (min-width: 281px) {
          @font-face{font-family:"sqmarket";src:url(https://dl6rt3mwcjzxg.cloudfront.net/assets/sqmarket/sqmarket-light-2f642b292d14d75d5f32c9ed72c48474.woff) format("woff");font-weight:300;font-style:normal}
          @font-face{font-family:"sqmarket";src:url(https://dl6rt3mwcjzxg.cloudfront.net/assets/sqmarket/sqmarket-regular-6a5fb006f7400e3ac2db120a476c56bd.woff) format("woff");font-weight:400;font-style:normal}
          @font-face{font-family:"sqmarket";src:url(https://dl6rt3mwcjzxg.cloudfront.net/assets/sqmarket/sqmarket-medium-5a6f039439c1c8e6064e37342270b45a.woff) format("woff");font-weight:500;font-style:normal}
          @font-face{font-family:"sqmarket";src:url(https://dl6rt3mwcjzxg.cloudfront.net/assets/sqmarket/sqmarket-bold-4eb993fdb0c4963ab37df16496655cb8.woff) format("woff");font-weight:700;font-style:normal}
        }
        @media only screen and (max-width: 500px) {
          .emailImage {
            height:auto !important;
            max-width: 500px !important;
            width: 100% !important;
          }
          .content-wrap {
            padding: 20px !important;
          }
          .itemWidgetText {
            font-size: 12px !important;
          }
        }
      </style>
    <!--<![endif]-->
    <!--[if !mso]>
      <!-->
      <style type="text/css">
        @media only screen and (min-width: 281px) {
          @font-face { font-family: "Lora"; src: url("https://postoffice-production-f.squarecdn.com/fonts/lora.woff2") format("woff2"), url("https://postoffice-production-f.squarecdn.com/fonts/lora.woff") format("woff"); }
          @font-face { font-family: "Dancing Script"; src: url("https://postoffice-production-f.squarecdn.com/fonts/dancing-script.woff2") format("woff2"), url("https://postoffice-production-f.squarecdn.com/fonts/dancing-script.woff") format("woff"); }
          @font-face { font-family: "Caveat Brush"; src: url("https://postoffice-production-f.squarecdn.com/fonts/caveat-brush.woff2") format("woff2"), url("https://postoffice-production-f.squarecdn.com/fonts/caveat-brush.woff") format("woff"); }
        }
      </style>
    <!--<![endif]-->
    <!--[if gte mso 9]>
      <xml>
        <o:OfficeDocumentSettings>
          <o:AllowPNG/>
          <o:PixelsPerInch>96</o:PixelsPerInch>
        </o:OfficeDocumentSettings>
      </xml>
    <![endif]-->
    <!--[if gte mso 9]>
      <style type="text/css">
        .nomso{display:none;font-size:0;line-height:0}
      </style>
    <![endif]-->
    <!--[if gte mso 15]>
      <style type="text/css">
        table { font-size:1px; line-height:0; mso-margin-top-alt:1px; }
      </style>
    <![endif]-->
  </head>
  
  <body bgcolor="#FAFAFA">
    <!--[if !mso]>
      <!-->
      <div style="font-size:0;max-height:0;overflow:hidden;display:none;background-color:#FAFAFA;color:#FAFAFA;">Thanks for visiting! We hope you enjoyed your first visit to Guerrilla Tacos.
        Here is a special discount to use the next time you come in. We would love to see
        you again soon!</div>
    <!--<![endif]-->
    <script type="application/ld+json">
      {
        "@context": "http://schema.org",
        "@type": "EmailMessage",
        "action": {
          "@type": "ViewAction",
          "name": "Claim",
          "handler": {
            "@type": "HttpActionHandler",
            "url": "https://squareup.com/outreach/offers/claim/iWDqNc02135qhaIX"
          }
        },
        "description": "Enjoy 100% off your next visit to Guerrilla Tacos."
      }
    </script>
    <div id="container" style="min-width:240px;-webkit-text-size-adjust:none;-ms-text-size-adjust:none;-webkit-font-smoothing:antialiased">
      <table id="transient-header" border="0" cellpadding="0" cellspacing="0" width="100%"
      bgcolor="#FAFAFA">
        <tbody>
          <tr>
            <td>
              <table border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#ffffff"
              width="100%">
                <tbody>
                  <tr>
                    <td>
                      <table border="0" cellpadding="0" cellspacing="0" align="center">
                        <tr>
                          <td width="512" align="center">
                            <table border="0" cellpadding="20" cellspacing="0">
                              <tr>
                                <td width="432" align="center" style="font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif;font-size:12px;line-height:18px;color:#5f6a7c;text-align:left">Your favorite businesses may send you messages and rewards via Square like the
                                  one below.
                                  <a id="header-unsubscribe" href="#"
                                  style="color:#008bcb; text-decoration:underline;">Learn more and update your preferences.</a>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
              <table border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="" width="100%">
                <tbody>
                  <tr>
                    <td>
                      <table border="0" cellpadding="0" cellspacing="0" align="center">
                        <tr>
                          <td width="512" align="center">
                            <table border="0" cellpadding="20" cellspacing="0">
                              <tr>
                                <td width="432" align="center" style="font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif;font-size:12px;line-height:18px;color:#b0b5ba;text-align:center">Have questions? Reply to this email and we’ll respond as soon as possible.</td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
      <table id="email-body" border="0" cellpadding="0" cellspacing="0" width="100%"
      bgcolor="#FAFAFA">
        <tbody>
          <tr>
            <td>
              <table border="0" cellpadding="0" cellspacing="0" align="center">
                <tbody>
                  <tr>
                    <td align="center" width="500">
                      <!-- HEADER -->
                      <table id="header-widget" border="0" cellpadding="0" cellspacing="0" bgcolor="#456d9c"
                      width="100%">
                        <tbody>
                          <tr>
                            <td align="center" id="header-without-bg" style="background:url('https://square-postoffice-production.s3.amazonaws.com/email/offer_header_caret.png') bottom no-repeat">
                              <table border="0" cellpadding="0" cellspacing="0">
                                <tbody>
                                  <tr>
                                    <td align="center" style="padding:37px 0 5px">
                                      <!--[if mso]><span style="border: 3px solid #ffffff;"><![endif]-->
                      <img src="https://images-production-s.squarecdn.com/poXn2r3cdJrGyL_71r98qMNQSLA=/128x128/filters:fill(456d9c,true):quality(100):format(png)/https://square-postoffice-production.s3.amazonaws.com/images/rL95nFIaI4GrTHIbjrEMIzzugVMjtp10.jpg" width="64" height="64" style="border: 3px solid #ffffff; border-radius: 11px;">
                    <!--[if mso]></span>
                                      <![endif]-->
                                    </td>
                                  </tr>
                                  <tr>
                                    <td align="center" style="padding-bottom:33px">
                                      <table border="0" cellpadding="0" cellspacing="0" style="font-family:sqmarket,HelveticaNeue-Medium,'Helvetica Neue Medium',Helvetica-Bold,Helvetica,sans-serif;text-align:center;padding:0 20px">
                                        <tbody>
                                          <tr>
                                            <td style="color:#ffffff;font-size:16px;font-weight:500;letter-spacing:0.3px;line-height:22px">Guerrilla Tacos</td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                      <table id="1c_body_center" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff"
                      width="100%" style="text-align:left;font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif">
                        <tbody>
                          <tr>
                            <td class="content-wrap" style="padding:30px 50px">
                              <table class="body_text_h1" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff"
                              width="100%" style="font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif">
                                <tbody>
                                  <tr>
                                    <td style="color:#3D454D;font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif;font-size:28px;font-weight:300;line-height:34px;padding:0 0 20px;text-align:center;text-align: center">Thanks for visiting!</td>
                                  </tr>
                                </tbody>
                              </table>
                              <table class="body_text_p" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff"
                              width="100%" style="font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif">
                                <tbody>
                                  <tr>
                                    <td style="color:#3D454D;font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif;font-size:14px;font-weight:400;line-height:20px;padding:0 0 30px;text-align:center;text-align: center">We hope you enjoyed your first visit to Guerrilla Tacos. Here is a special discount
                                      to use the next time you come in. We would love to see you again soon!</td>
                                  </tr>
                                </tbody>
                              </table>
                              <table id="coupon-campaign-1598036" border="0" cellpadding="0" cellspacing="0"
                              bgcolor="#ffffff" width="100%">
                                <tbody>
                                  <tr>
                                    <td align="center" style="padding-bottom:30px">
                                      <table border="0" cellpadding="0" cellspacing="0">
                                        <tbody>
                                          <tr valign="bottom">
                                            <td width="12" valign="bottom">
                                              <table border="0" cellpadding="0" cellspacing="0" bgcolor="#456d9c">
                                                <tbody>
                                                  <tr>
                                                    <td>
                                                      <img src="https://square-postoffice-production.s3.amazonaws.com/email/corners/corner_456d9c_tl.jpg"
                                                      width="12" height="12" style="display:block">
                                                    </td>
                                                  </tr>
                                                  <tr>
                                                    <td align="center">
                                                      <table border="0" cellpadding="0" cellspacing="0">
                                                        <tbody>
                                                          <tr>
                                                            <td style="font-size:0;line-height:0" width="2"> </td>
                                                            <td bgcolor="#ffffff" style="font-size:0;line-height:0" width="3" height="50"> </td>
                                                            <td style="font-size:0;line-height:0" width="7"> </td>
                                                          </tr>
                                                        </tbody>
                                                      </table>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                            <td width="185" valign="bottom">
                                              <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#456d9c">
                                                <tbody>
                                                  <tr>
                                                    <td style="font-size:0;line-height:0" height="2"> </td>
                                                  </tr>
                                                  <tr>
                                                    <td style="font-size:0;line-height:0" height="3" bgcolor="#ffffff"> </td>
                                                  </tr>
                                                  <tr>
                                                    <td height="57"> </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                            <td width="106" valign="bottom" align="center">
                                              <table border="0" cellpadding="0" cellspacing="0">
                                                <tbody>
                                                  <tr>
                                                    <td bgcolor="#456d9c" width="108" height="107" valign="top" style="background:url(https://square-postoffice-production.s3.amazonaws.com/email/badges/offer_badge_456d9c.jpg);background-position:center;background-repeat:no-repeat;background-size:cover">
                                                      <!--[if gte mso 9]>
                                                        <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="width:106px;height:106px;">
                                                          <v:fill type="frame" src="https://square-postoffice-production.s3.amazonaws.com/email/badges/offer_badge_456d9c.jpg"
                                                          color="#456d9c" />
                                                          <v:textbox inset="0,0,0,0">
                                                          <![endif]-->
                                                          <div>
                                                            <table border="0" cellpadding="0" cellspacing="0" width="106">
                                                              <tbody>
                                                                <tr>
                                                                  <td align="center" style="padding-top:30px">
                                                                    <table border="0" cellpadding="0" cellspacing="0" style="font-weight:500;font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif">
                                                                      <tbody>
                                                                        <tr valign="top">
                                                                          <td valign="top" style="color:#ffffff;font-size:24px;font-weight:600;line-height:46px"
                                                                          id="free-badge">FREE</td>
                                                                        </tr>
                                                                      </tbody>
                                                                    </table>
                                                                  </td>
                                                                </tr>
                                                              </tbody>
                                                            </table>
                                                          </div>
                                                          <!--[if gte mso 9]>
                                                          </v:textbox>
                                                        </v:rect>
                                                      <![endif]-->
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                            <td width="185" valign="bottom">
                                              <table border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#456d9c">
                                                <tbody>
                                                  <tr>
                                                    <td style="font-size:0;line-height:0" height="2"> </td>
                                                  </tr>
                                                  <tr>
                                                    <td style="font-size:0;line-height:0" height="3" bgcolor="#ffffff"> </td>
                                                  </tr>
                                                  <tr>
                                                    <td height="57"> </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                            <td width="12" valign="bottom">
                                              <table border="0" cellpadding="0" cellspacing="0" bgcolor="#456d9c">
                                                <tbody>
                                                  <tr>
                                                    <td>
                                                      <img src="https://square-postoffice-production.s3.amazonaws.com/email/corners/corner_456d9c_tr.jpg"
                                                      width="12" height="12" style="display:block">
                                                    </td>
                                                  </tr>
                                                  <tr>
                                                    <td align="center">
                                                      <table border="0" cellpadding="0" cellspacing="0">
                                                        <tbody>
                                                          <tr>
                                                            <td style="font-size:0;line-height:0" width="7"> </td>
                                                            <td bgcolor="#ffffff" style="font-size:0;line-height:0" width="3" height="50"> </td>
                                                            <td style="font-size:0;line-height:0" width="2"> </td>
                                                          </tr>
                                                        </tbody>
                                                      </table>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                      <table border="0" cellpadding="0" cellspacing="0">
                                        <tbody>
                                          <tr>
                                            <td colspan="3" bgcolor="#456d9c">
                                              <table border="0" cellpadding="0" cellspacing="0">
                                                <tbody>
                                                  <tr>
                                                    <td style="padding:0 2px">
                                                      <table border="0" cellpadding="0" cellspacing="0">
                                                        <tbody>
                                                          <tr>
                                                            <td style="padding:0 3px" bgcolor="#ffffff">
                                                              <table border="0" cellpadding="0" cellspacing="0">
                                                                <tbody>
                                                                  <tr>
                                                                    <td width="500" bgcolor="#456d9c">
                                                                      <table border="0" cellpadding="0" cellspacing="0" width="100%" style="font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif;text-align:center">
                                                                        <tbody>
                                                                          <tr>
                                                                            <td style="color:#ffffff;font-size:18px;line-height:22px;padding:22px 20px 10px">Get a free Blue Tote the next time you visit!</td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td style="color:#ffffff;font-size:14px;line-height:19px;padding:0 20px 20px">Tell the cashier the reward code below when you pay.</td>
                                                                          </tr>
                                                                          <tr>
                                                                            <td align="center" style="padding:0 0 16px;color:#ffffff;font-size:38px;line-height:38px;">SMLS DVS</td>
                                                                          </tr>
                                                                        </tbody>
                                                                      </table>
                                                                    </td>
                                                                  </tr>
                                                                </tbody>
                                                              </table>
                                                            </td>
                                                          </tr>
                                                        </tbody>
                                                      </table>
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                          </tr>
                                          <tr>
                                            <td bgcolor="#456d9c">
                                              <img src="https://square-postoffice-production.s3.amazonaws.com/email/corners/corner_456d9c_bl.jpg"
                                              width="12" height="12" style="display:block">
                                            </td>
                                            <td width="476" bgcolor="#456d9c">
                                              <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                                <tbody>
                                                  <tr>
                                                    <td style="font-size:0;line-height:0" height="7"> </td>
                                                  </tr>
                                                  <tr>
                                                    <td style="font-size:0;line-height:0" height="3" bgcolor="#ffffff"> </td>
                                                  </tr>
                                                  <tr>
                                                    <td style="font-size:0;line-height:0" bgcolor="#456d9c" height="2"> </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </td>
                                            <td bgcolor="#456d9c">
                                              <img src="https://square-postoffice-production.s3.amazonaws.com/email/corners/corner_456d9c_br.jpg"
                                              width="12" height="12" style="display:block">
                                            </td>
                                          </tr>
                                        </tbody>
                                      </table>
                                    </td>
                                  </tr>
                                  <!-- Details -->
                                  <tr>
                                    <td align="center" style="padding-bottom:30px">
                                      <table border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                          <td align="center" width="264" style="color:#5F6A7C;font-size:14px;line-height:19px;font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif">The reward expires on January 03, 2018. No cash value. Not transferable. In-store
                                            only. May be canceled at any time.</td>
                                        </tr>
                                      </table>
                                    </td>
                                  </tr>
                                </tbody>
                              </table>
                            </td>
                          </tr>
                        </tbody>
                      </table>
                      <!-- FOOTER -->
                      <table id="footer-widget" border="0" cellpadding="0" cellspacing="0" width="100%">
                        <tr>
                          <td align="center">
                            <table border="0" cellpadding="0" cellspacing="0">
                              <tr>
                                <td width="472" align="center" style="padding:32px 20px">
                                  <table border="0" cellpadding="0" cellspacing="0" style="font-family:sqmarket,Helvetica Neue,Helvetica,sans-serif;font-size:14px;line-height:18px;color:#B0B5BA;text-align:center;margin: 0 auto;">
                                    <tr>
                                      <td style="padding-bottom:16px"> <span id="footer-merchant-name" style="text-decoration:none;color:#B0B5BA;font-weight:500">
                      Guerrilla Tacos
                    </span>

                                      </td>
                                    </tr>
                                    <tr>
                                      <td style="color:#B0B5BA;padding:0 0 16px">
                                        <a id="footer-unsubscribe" href="#"
                                        style="text-decoration:none; color:#B0B5BA; font-weight:500;">Unsubscribe</a> <span>or</span>

                                        <a id="footer-manage-prefs" href="#"
                                        style="text-decoration:none; color:#B0B5BA; font-weight:500;">Manage Preferences</a>
                                      </td>
                                    </tr>
                                    <tr>
                                      <td align="center">
                                        <table border="0" cellpadding="0" cellspacing="0">
                                          <tr valign="top">
                                            <td valign="top">
                                              <a id="footer-square-jewel" href="https://squareup.com/">
                                                <img src="https://d3g64w74of3jgu.cloudfront.net/assets/v2/footer-logo-59c0aee573e3c6138d7a120a4ec54289.png"
                                                width="22" height="22" border="0" style="display:block;border:0">
                                              </a>
                                            </td>
                                          </tr>
                                        </table>
                                      </td>
                                    </tr>
                                  </table>
                                </td>
                              </tr>
                            </table>
                          </td>
                        </tr>
                      </table>
                      <!--[if !mso]>
                        <!-->
                        <div style="font-size:0;max-height:0;overflow:hidden;display:none">Thanks! Here’s an offer for your next visit to Guerrilla Tacos was sent to you
                          on 2017-12-04 20:44:23 UTC by Guerrilla Tacos</div>
                      <!--<![endif]-->
                    </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
    <!-- Hack to stop mobile email clients from resizing content :( -->
    <div style="display:none; white-space:nowrap; font:15px courier; line-height:0;">                                                           </div>
    
  </body>

</html>
            
          
!
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