css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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>
<html style="opacity: 1;" xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta charset="utf-8" />
  <!-- utf-8 works for most cases -->
  <meta content="width=device-width" name="viewport" />
  <!-- Forcing initial-scale shouldn't be necessary -->
  <meta content="IE=edge" http-equiv="X-UA-Compatible" />
  <!-- Use the latest (edge) version of IE rendering engine -->
  <meta name="x-apple-disable-message-reformatting" />
  <!-- Disable auto-scale in iOS 10 Mail entirely -->
  <title>SpotHero</title>
  <!-- The title tag shows in email notifications, like Android 4.4. -->
  <!-- Web Font / @font-face : BEGIN -->
  <!-- NOTE: If web fonts are not required, lines 10 - 27 can be safely removed. -->
  <!-- Desktop Outlook chokes on web font references and defaults to Times New Roman, so we force a safe fallback font. -->
  <!--[if mso]>
<style>
* {
font-family: sans-serif !important;
}
</style>
<![endif]-->
  <!-- All other clients get the webfont reference; some will render the font and others will silently fail to the fallbacks. More on that here: http://stylecampaign.com/blog/2015/02/webfont-support-in-email/ -->
  <!--[if !mso]><!-->
  <!-- insert web font reference, eg: <link href='https://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'> -->
  <!--<![endif]-->
  <!-- Web Font / @font-face : END -->
  <!-- CSS Reset -->
  <style type="text/css">
    /* What it does: Remove spaces around the email design added by some email clients. */

    /* Beware: It can remove the padding / margin and add a background color to the compose a reply window. */

    html,
    body {
      margin: 0 auto !important;
      padding: 0 !important;
      height: 100% !important;
      width: 100% !important;
    }

    /* What it does: Stops email clients resizing small text. */

    * {
      -ms-text-size-adjust: 100%;
      -webkit-text-size-adjust: 100%;
    }

    /* What is does: Centers email on Android 4.4 */

    div[style*="margin: 16px 0"] {
      margin: 0 !important;
    }

    /* What it does: Stops Outlook from adding extra spacing to tables. */

    table,
    td {
      mso-table-lspace: 0pt !important;
      mso-table-rspace: 0pt !important;
    }

    /* What it does: Fixes webkit padding issue. Fix for Yahoo mail table alignment bug. Applies table-layout to the first 2 tables then removes for anything nested deeper. */

    table {
      border-spacing: 0 !important;
      border-collapse: collapse !important;
      table-layout: fixed !important;
      margin: 0 auto !important;
    }

    table table table {
      table-layout: auto;
    }

    /* What it does: Uses a better rendering method when resizing images in IE. */

    img {
      -ms-interpolation-mode: bicubic;
    }

    /* What it does: A work-around for iOS meddling in triggered links. */

    *[x-apple-data-detectors] {
      color: inherit !important;
      text-decoration: none !important;
    }

    /* What it does: A work-around for Gmail meddling in triggered links. */

    .x-gmail-data-detectors,
    .x-gmail-data-detectors *,
    .aBn {
      border-bottom: 0 !important;
      cursor: default !important;
    }

    /* What it does: Prevents Gmail from displaying an download button on large, non-linked images. */

    .a6S {
      display: none !important;
      opacity: 0.01 !important;
    }

    /* If the above doesn't work, add a .g-img class to any image in question. */

    img.g-img+div {
      display: none !important;
    }

    /* What it does: Prevents underlining the button text in Windows 10 */

    .button-link {
      text-decoration: none !important;
    }

    /* What it does: Removes right gutter in Gmail iOS app: https://github.com/TedGoas/Cerberus/issues/89  */

    /* Create one of these media queries for each additional viewport size you'd like to fix */

    /* Thanks to Eric Lepetit @ericlepetitsf) for help troubleshooting */

    @media only screen and (min-device-width: 375px) and (max-device-width: 413px) {
      /* iPhone 6 and 6+ */
      .email-container {
        min-width: 375px !important;
      }
    }
  </style>
  <!-- Progressive Enhancements -->
  <style type="text/css">
    /* What it does: Hover styles for buttons */

    /* What it does: Hover styles for buttons */

    .button-td,
    .button-a {
      transition: all 100ms ease-in;
    }

    .button-td:hover,
    .button-a:hover {
      background: #002d5b !important;
      border-color: #002d5b !important;
    }

    /* What it does: Hover styles for buttons */

    .button-td_2,
    .button-a_2 {
      transition: all 100ms ease-in;
    }

    .button-td_2:hover,
    .button-a_2:hover {
      color: #002d5b !important;
      border-color: #002d5b !important;
    }

    /* Media Queries */

    @media screen and (max-width: 580px) {
      .email-container {
        width: 100% !important;
        margin: auto !important;
      }
      /* What it does: Forces elements to resize to the full width of their container. Useful for resizing images beyond their max-width. */
      .fluid {
        max-width: 100% !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }
      /* What it does: Forces table cells into full-width rows. */
      .stack-column,
      .stack-column-center {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        direction: ltr !important;
        padding: 10px !important;
      }
      /* And center justify these ones. */
      .stack-column-center {
        text-align: center !important;
      }
      /* What it does: Generic utility class for centering. Useful for images, buttons, and nested tables. */
      .center-on-narrow {
        text-align: center !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        float: none !important;
      }
      table.center-on-narrow {
        display: inline-block !important;
      }
    }
  </style>
  <style type="text/css">
    @media screen and (max-width: 600px) {
      .mobile_text {
        padding: 15px !important;
      }
    }
  </style>
  <style type="text/css">
    @media screen and (max-width: 600px) {
      .button-a-span {
        padding: 0 160px 0 160px !important;
      }
    }

    @media screen and (max-width: 500px) {
      .button-a-span {
        padding: 0 140px 0 140px !important;
      }
    }

    @media screen and (max-width: 400px) {
      .button-a-span {
        padding: 0 115px 0 115px !important;
      }
    }

    @media screen and (max-width: 350px) {
      .button-a-span {
        padding: 0 100px 0 100px !important;
      }
    }

    @media screen and (max-width: 325px) {
      .button-a-span {
        padding: 0 80px 0 80px !important;
      }
    }
  </style>
  <!--[if mso]>
<style type="text/css">
body, table, td {font-family: Arial, Helvetica, sans-serif !important;}
</style>
<![endif]-->
</head>

<body style="margin: 0px;" width="100%">
  <center style="width: 100%; text-align: left;">
    <!-- Visually Hidden Preheader Text : BEGIN -->
    <div style="display:none;font-size:1px;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;mso-hide:all;font-family: sans-serif;">Promo code inside.
    </div>
    <!-- Visually Hidden Preheader Text : END -->
    <!-- Email Body : BEGIN -->

    <table align="center" aria-hidden="true" border="0" cellpadding="0" cellspacing="0" class="email-container" role="presentation" style="margin: auto;" width="600">
      <tbody>
        <tr>
          <td style="padding:20px 25px; text-align: left"><a href="https://spothero.app.link/Arz55OPJ2H" style="text-decoration: none;border-collapse: collapse;mso-line-height-rule: exactly;" target="_blank"><img alt="SpotHero" border="0" class="logo" src="http://res.cloudinary.com/spothero/image/upload/v1498054555/html-emails/email_assets/SH4B/sh_logo_shift_blue.png" style="height: auto; font-family: 'Open Sans', Arial, sans-serif;font-size: 25px;line-height: 30px;" width="75" /> </a></td>
          <td class="mobile_text" style=" padding: 20px 25px; text-align: right; font-family:'Open Sans', sans-serif; font-size: 15px; line-height: 26px; color: #002d5b; font-weight: 100;"><a href="https://spothero.app.link/LekeME7J2H" style="text-decoration: none;border-collapse: collapse;mso-line-height-rule: exactly;" target="_blank"><img alt="Find Parking" border="0" class="logo" src="http://res.cloudinary.com/spothero/image/upload/v1510172408/html-emails/email_assets/find_button_shift.png" style="height: auto; font-family: 'Open Sans', Arial, sans-serif;font-size: 25px;line-height: 30px;" width="140" /> </a></td>
        </tr>
        <tr>
          <td align="center" colspan="2"><a href="https://spothero.app.link/RjedrIkL2H"><img align="center" alt="Save $5 on your first spot" border="0" class="g-img" src="http://res.cloudinary.com/spothero/image/upload/v1510176028/html-emails/email_assets/acct_creationhero_v5.png" style="width: 95%; max-width: 570px; height: auto; font-family: 'Open Sans', Arial, sans-serif;font-size: 25px;line-height: 30px;color: #135aff; font-weight: bold;" width="570" /> </a></td>
        </tr>
        <tr>
          <td bgcolor="#ffffff" class="mobile_text" colspan="2" style="padding:30px 40px; text-align: center; font-family:'Open Sans', sans-serif; font-size: 16px; line-height: 24px; color: #002d5b; font-weight: 100;">Reserve your first spot by 05/12/2018and <span style="color: #1dbc71; font-weight: 600;">save $5</span> on your first parking. Use promo code <span style="color: #1dbc71; font-weight: 600; letter-spacing: 1px;">FIRST5</span> at checkout.</td>
        </tr>
        <tr>
          <td bgcolor="#ffffff" class="mobile_text" colspan="2" style="padding:0 40px 0 40px; text-align: center; font-family:'Open Sans', sans-serif; font-size: 15px; line-height: 26px; color: #002d5b; font-weight: 100;">
            <!-- Button : Begin -->
            <div>
              <!--[if mso]>
							<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="https://spothero.app.link/RjedrIkL2H" style="height:40px;v-text-anchor:middle;width:400px;" arcsize="50%" stroke="f" fillcolor="#0082ff">
							<w:anchorlock/>
							<center>
							<![endif]--><a href="https://spothero.app.link/RjedrIkL2H" style="background-color:#0082ff; border-radius: 40px; color: #ffffff; display: inline-block; font-family:'Open Sans', sans-serif; font-size: 20px; font-weight: 100; line-height: 45px; text-align: center; text-decoration: none; width: 100%; -webkit-text-size-adjust: none;">Book Now</a>
              <!--[if mso]>
							</center>
							</v:roundrect>
							<![endif]-->
            </div>
            <!-- Button : END -->
          </td>
        </tr>
        <tr>
          <td bgcolor="#ffffff" class="mobile_text" colspan="2" style="padding:20px 60px 10px 60px; text-align: center; font-family:'Open Sans', sans-serif; font-size: 12px; line-height: 14px; color: #777777; font-weight: 100;">Offer Details: Get $5 off your reservation. Expires 05/12/2018 at 11:59pm. One-time use per first-time customer. Not valid on monthly parking, business profiles, or gift cards.</td>
        </tr>
        <!-- 2 Even Columns : BEGIN -->
        <tr>
          <td align="center" bgcolor="#ffffff" class="mobile_text" colspan="2" style="padding: 0 80px 10px 80px;" valign="top" width="100%">
            <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%">
              <tbody>
                <tr>
                  <!-- Column : BEGIN -->
                  <td align="center" class="stack-column-center"><a href="https://spothero.app.link/wgay7rJJ2H" style="text-decoration: none;border-collapse: collapse;mso-line-height-rule: exactly;" target="_blank"><img alt="Download the App" border="0" class="fluid" src="http://res.cloudinary.com/spothero/image/upload/v1510340833/html-emails/email_assets/dl_button_shift.png" style="height: auto; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;" width="170" /> </a></td>
                  <!-- Column : END -->
                  <!-- Column : BEGIN -->
                  <td align="center" class="stack-column-center"><a href="https://refer.spothero.com/email_footer" style="text-decoration: none;border-collapse: collapse;mso-line-height-rule: exactly;" target="_blank"><img alt="Give $10, Get $10" border="0" class="fluid" src="http://res.cloudinary.com/spothero/image/upload/v1510340833/html-emails/email_assets/referral_button_shift.png" style="height: auto; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;" width="170" /> </a></td>
                  <!-- Column : END -->
                </tr>
              </tbody>
            </table>
          </td>
        </tr>
        <!-- 2 Even Columns : END -->
      </tbody>
    </table>
    <!-- Email Body : END -->
    <!-- Email Footer : BEGIN -->

    <table align="center" aria-hidden="true" bgcolor="#ebeff2" border="0" cellpadding="0" cellspacing="0" class="email-container" role="presentation" style="margin: auto;" width="600">
      <tbody>
        <tr>
          <td align="center" style="border-collapse: collapse;mso-line-height-rule: exactly;" valign="top" width="100%">
            <table align="center" border="0" cellpadding="0" cellspacing="0">
              <tbody>
                <tr>
                  <td align="center" class="mobile_text" style=" text-align: center; padding: 10px 0 10px 0; font-family:'Open Sans', sans-serif; font-size: 17px; line-height: 24px; color: #8fa3b6; font-weight: 100;">
                    <table align="center">
                      <tbody>
                        <tr>
                          <td align="center" style="border-collapse: collapse;mso-line-height-rule: exactly; padding: 0 2px;" valign="top" width="35"><a href="https://email.spothero.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlTQGtjGfoTnXNk4ib0gvhvHwOPtEcfmJrShCpFiXgMkSpfnohMKFLbmzaRHzaBkEFVXtpKX%3DCWTAT&amp;_ei_=Eq2tf9zs59idfPO1Sc_9BbmFpTg2e5ywpTmvCBY5wxf_ApiS1fyT3AsZo-dtALImyUtmVecoKoFhmfLt9w-jDx91bdyvDazGek5zJ540Y1dTy2eajv2oNdLmeFg."
                              style="text-decoration: none;border-collapse: collapse;mso-line-height-rule: exactly;" target="_blank"><img alt="Twitter" border="0" src="http://res.cloudinary.com/spothero/image/upload/v1509555113/html-emails/soc_icon_twitter.png" style="display: block;font-family: 'Open Sans', Arial, sans-serif;font-size: 14px;line-height: 18px;color: #404040;font-weight: bold;border: 0 !important;outline: none !important; max-width:35px;" width="35" /></a></td>
                          <td align="center" style="border-collapse: collapse;mso-line-height-rule: exactly; padding: 0 2px;" valign="top" width="35"><a href="https://email.spothero.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlTQGtjGfoTnXNk4ib0gvhvHwOPtEcfmJrShCpFiXgMkSpfnohMKFLbmzaRHzaBkEFVXtpKX%3DCWTCT&amp;_ei_=Eq2tf9zs59idfPO1Sc_9BbmFpTg2e5ywpTmvCBY5wxf_ApiS1fyT3AsZo-dtALImyUtmVecoKoFhmfLt9w-jDx91bdyvDazGek5zJ540Y1dTy2eajv2oNdLmeFg."
                              style="text-decoration: none;border-collapse: collapse;mso-line-height-rule: exactly;" target="_blank"><img alt="YouTube" border="0" src="http://res.cloudinary.com/spothero/image/upload/v1509555113/html-emails/soc_icon_ytube.png" style="display: block;font-family: 'Open Sans', Arial, sans-serif;font-size: 14px;line-height: 18px;color: #404040;font-weight: bold;border: 0 !important;outline: none !important; max-width:35px;" width="35" /></a></td>
                          <td align="center" style="border-collapse: collapse;mso-line-height-rule: exactly; padding: 0 2px;" valign="top" width="35"><a href="https://email.spothero.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlTQGtjGfoTnXNk4ib0gvhvHwOPtEcfmJrShCpFiXgMkSpfnohMKFLbmzaRHzaBkEFVXtpKX%3DCWURT&amp;_ei_=Eq2tf9zs59idfPO1Sc_9BbmFpTg2e5ywpTmvCBY5wxf_ApiS1fyT3AsZo-dtALImyUtmVecoKoFhmfLt9w-jDx91bdyvDazGek5zJ540Y1dTy2eajv2oNdLmeFg."
                              style="text-decoration: none;border-collapse: collapse;mso-line-height-rule: exactly; " target="_blank"><img alt="Instagram" border="0" src="http://res.cloudinary.com/spothero/image/upload/v1509555113/html-emails/soc_icon_insta.png" style="display: block;font-family: 'Open Sans', Arial, sans-serif;font-size: 14px;line-height: 18px;color: #404040;font-weight: bold;border: 0 !important;outline: none !important; max-width:35px;" width="35" /></a></td>
                          <td align="center" style="border-collapse: collapse;mso-line-height-rule: exactly; padding: 0 2px;" valign="top" width="35"><a href="https://email.spothero.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlTQGtjGfoTnXNk4ib0gvhvHwOPtEcfmJrShCpFiXgMkSpfnohMKFLbmzaRHzaBkEFVXtpKX%3DCWUTT&amp;_ei_=Eq2tf9zs59idfPO1Sc_9BbmFpTg2e5ywpTmvCBY5wxf_ApiS1fyT3AsZo-dtALImyUtmVecoKoFhmfLt9w-jDx91bdyvDazGek5zJ540Y1dTy2eajv2oNdLmeFg."
                              style="text-decoration: none;border-collapse: collapse;mso-line-height-rule: exactly;" target="_blank"><img alt="Facebook" border="0" src="http://res.cloudinary.com/spothero/image/upload/v1509555113/html-emails/soc_icon_fb.png" style="display: block;font-family: 'Open Sans', Arial, sans-serif;font-size: 14px;line-height: 18px;color: #404040;font-weight: bold;border: 0 !important;outline: none !important; max-width:35px;" width="35" /></a></td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
                <tr>
                  <td align="center" class="em_font13" style="border-collapse: collapse;mso-line-height-rule: exactly;color: #5C7996; font-family: 'Open Sans', Arial, sans-serif;font-size: 13px;line-height: 20px;text-decoration: none; padding: 5px 0 15px 0;" valign="top">125 S. Clark St. &nbsp;|&nbsp; Chicago, IL 60603&nbsp;|&nbsp; <a href="https://email.spothero.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlTQGtjGfoTnXNk4ib0gvhvHwOPtEcfmJrShCpFiXgMkSpfnohMKFLbmzaRHzaBkEFVXtpKX%3DCWUWT&amp;_ei_=Eq2tf9zs59idfPO1Sc_9BbmFpTg2e5ywpTmvCBY5wxf_ApiS1fyT3AsZo-dtALImyUtmVecoKoFhmfLt9w-jDx91bdyvDazGek5zJ540Y1dTy2eajv2oNdLmeFg."
                      style="border-collapse: collapse;mso-line-height-rule: exactly;color: #5C7996; font-family: 'Open Sans', Arial, sans-serif;font-size: 13px; line-height: 20px; text-decoration: none;">(844) 324-7768</a>&nbsp;|&nbsp; <a href="https://email.spothero.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlTQGtjGfoTnXNk4ib0gvhvHwOPtEcfmJrShCpFiXgMkSpfnohMKFLbmzaRHzaBkEFVXtpKX%3DCWUAT&amp;_ei_=Eq2tf9zs59idfPO1Sc_9BbmFpTg2e5ywpTmvCBY5wxf_ApiS1fyT3AsZo-dtALImyUtmVecoKoFhmfLt9w-jDx91bdyvDazGek5zJ540Y1dTy2eajv2oNdLmeFg."
                      style="color: #5C7996; border-collapse: collapse;mso-line-height-rule: exactly; text-decoration: none;" target="_blank">FAQ</a></td>
                </tr>
                <tr>
                  <td align="center" class="mobile_text" style="text-align: center; padding: 0 0 10px 0; font-family:'Open Sans', sans-serif; font-size: 12px; line-height: 24px; color: #5C7996 font-weight: 500;"><a href="#"
                      style="color: #5C7996; text-decoration: none; ">Unsubscribe</a></td>
                </tr>
              </tbody>
            </table>
          </td>
        </tr>
      </tbody>
    </table>
  </center>
  <table cellpadding="0" cellspacing="0" style="border: 0px; padding: 0px; margin: 0px; position: absolute; display: none; float: left">
    <tr>
      <td height="1" style="font-size: 1px; line-height: 1px; padding: 0px;">
     
      </td>
    </tr>
  </table>
</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.
Loading ..................

Console