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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <style type="text/css" data-premailer="ignore">
      #outlook a{
        padding: 0;
      }
      body{
        -webkit-text-size-adjust: none;
        -ms-text-size-adjust: none;
        font-weight: 400;
        margin: 0;
        padding: 0;
      }
      .ReadMsgBody{
        width: 100%;
      }
      .ExternalClass{
        width: 100%;
      }
      img {
        border: 0;
        max-width: 100%;
        height: auto;
        outline: none;
        display: inline-block;
        margin: 0;
        padding: 0;
        text-decoration: none;
        line-height: 100%;
      }
      #backgroundTable{
        height: 100% !important;
        margin: 0;
        padding: 0;
        width: 100% !important;
      }
    </style>
    <style type="text/css">
      body {
        margin: 0;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Ubuntu', 'Open Sans', 'Helvetica Neue', sans-serif;
        color: rgba(0, 0, 0, 0.8);
        font-size: 16px;
      }
      h1 {font-family: Georgia, Cambria, 'Times New Roman', Times, serif; font-size: 38px; font-weight: normal;}
      h2 {font-size: 22px; font-weight: bold; color: #292929;}
      p {line-height: 1.55em; margin: 0; font-size: 18px;}
      a {color: #02B875; text-decoration: none;}
      ol li {margin-bottom: 24px;}
      .container {margin: 0 auto; width: 600px;}
      .email-sansSerif {font-family: Georgia, Cambria, 'Times New Roman', Times, serif; }
      .email-bold {font-weight: bold;}
      .email-title {
        font-size: 42px;
        color: #294254;
        font-weight: bold;
        line-height: 1em;
      }
      .email-storyList {
        border-top: 1px solid #8F9191;
        background: #F8FFFB;
        padding: 0;
      }
      .email-storyList li {
        padding: 25px 10px;
        border-bottom: 1px solid #8F9191;
        list-style: none;
        position: relative;
        margin-left: 0;
      }
      .email-storyListArrow {
        font-size: 30px;
        color: #02B875;
        vertical-align: middle;
        text-align: right;
      }
      .email-numberDot {
        width: 36px;
        height: 36px;
        border-radius: 18px;
        background-color: #000000;
        color: #FFFFFF;
        font-size: 22px;
        line-height: 36px;
        text-align: center;
      }
      .email-button, .intercom-h2b-button {
        display: inline-block;
        position: relative;
        height: 38px;
        line-height: 38px;
        padding: 0 55px;
        border: 0;
        outline: 0;
        color: #ffffff;
        background-color: #000000;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        white-space: nowrap;
        user-select: none;
        border-radius: 999em;
      }
      .email-backgroundMintGreen {background-color: rgb(210, 253, 221);}
      .email-backgroundLightSalmon {background-color: rgb(252, 231, 221);}
      .email-backgroundLightSand {background-color: rgb(246, 241, 228);}
      .email-backgroundLightSage {background-color: rgb(232, 243, 236);}
      .email-backgroundLightSky {background-color: rgb(226, 239, 248);}
      .email-backgroundGreen {background-color: rgb(0, 181, 149);}
      .email-divider {border: none; height: 4px; border-top: 4px solid #02B875;}
      .email-grayDivider {border: none; height: 1px; border-top: 1px solid #8F9191;}
      .email-block {display: block;}
      .email-inlineBlock {display: inline-block;}
      .email-top {vertical-align: top;}
      .email-middle {vertical-align: middle;}
      .email-bottom {vertical-align: bottom;}
      .email-left {text-align: left;}
      .email-right {text-align: right;}
      .email-center {text-align: center;}
      .email-marginAuto {margin-left: auto; margin-right: auto;}
      .email-marginLeft12 {margin-left: 12px;}
      .email-marginRight8 {margin-right: 8px;}
      .email-marginRight16 {margin-right: 16px;}
      .email-marginRight20 {margin-right: 20px;}
      .email-marginTop30 {margin-top: 30px;}
      .email-marginBottom0 {margin-bottom: 0px;}
      .email-marginBottom20 {margin-bottom: 20px;}
      .email-marginBottom30 {margin-bottom: 30px;}
      .email-paddingLeft13 {padding-left: 13px;}
      .email-paddingLeft20 {padding-left: 20px;}
      .email-paddingLeft45 {padding-left: 45px;}
      .email-paddingRight20 {padding-right: 20px;}
      .email-paddingRight45 {padding-right: 45px;}
      .email-paddingTop50 {padding-top: 50px;}
      .email-paddingTop60 {padding-top: 60px;}
      .email-paddingBottom0 {padding-bottom: 0;}
      .email-paddingBottom20 {padding-bottom: 20px;}
      .email-padding20 {padding: 20px;}
      .email-padding25 {padding: 25px;}
      .email-padding30 {padding: 30px;}
      .email-padding40 {padding: 40px;}
      .email-width45 {width: 45px;}
      .email-width75 {width: 75px;}
      .email-width100 {width: 100px;}
      .email-width150 {width: 150px;}
      .email-width30pct {width: 30%;}
      .email-width33pct {width: 33%;}
      .email-width70pct {width: 70%;}
      .email-fullWidth {width: 100%;}
      .email-fontSize14 {font-size: 14px;}
      .email-fontSize19 {font-size: 19px;}
      .email-borderLeft4Green {border-left: 4px solid #02B875;}
    </style>
    <style type="text/css" data-premailer="ignore">
      @media all and (max-width: 595px) {
          .container, table {width: 100% !important;}
          .block-image {width: 100% !important;}
          .email-xs-marginRight0 {margin-right: 0;}
          .email-xs-paddingLeft10 {padding-left: 10px;}
          .email-xs-paddingRight10 {padding-right: 10px;}
          .email-xs-block {display: block;}
          .email-xs-width40pct {width: 40%;}
          .email-xs-width60pct {width: 60%;}
          .email-xs-fullWidth {width: 100%;}
          .intercom-h2b-button {
            padding: 0 40px;
          }
        }
    </style>
    <style>
      .intercom-align-right {
        text-align: right !important;
      }
      .intercom-align-center {
        text-align: center !important;
      }
      .intercom-align-left {
        text-align: left !important;
      }
      /* Over-ride for RTL */
      .right-to-left .intercom-align-right{
        text-align: left !important;
      }
      .right-to-left .intercom-align-left{
        text-align: right !important;
      }
      .right-to-left .intercom-align-left {
        text-align:right !important;
      }
      .right-to-left li {
        text-align:right !important;
        direction: rtl;
      }
      .right-to-left .intercom-align-left img,
      .right-to-left .intercom-align-left .intercom-h2b-button {
        margin-left: 0 !important;
      }
      .intercom-attachment,
      .intercom-attachments,
      .intercom-attachments td,
      .intercom-attachments th,
      .intercom-attachments tr,
      .intercom-attachments tbody,
      .intercom-attachments .icon,
      .intercom-attachments .icon img {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
      }
      .intercom-attachments {
        margin: 10px 0 !important;
      }
      .intercom-attachments .icon,
      .intercom-attachments .icon img {
        width: 16px !important;
        height: 16px !important;
      }
      .intercom-attachments .icon {
        padding-right: 5px !important;
      }
      .intercom-attachment {
        display: inline-block !important;
        margin-bottom: 5px !important;
      }
      
      .intercom-interblocks-content-card {
        width: 334px !important;
        max-height: 136px !important;
        max-width: 100% !important;
        overflow: hidden !important;
        border-radius: 20px !important;
        font-size: 16px !important;
        border: 1px solid #e0e0e0 !important;
      }
      
      .intercom-interblocks-link,
      .intercom-interblocks-article-card {
        text-decoration: none !important;
      }
      
      .intercom-interblocks-article-icon {
        width: 22.5% !important;
        height: 136px !important;
        float: left !important;
        background-color: #fafafa !important;
        background-image: url('https://static.intercom-mail-100.com/assets/article_book-1a595be287f73c0d02f548f513bfc831.png') !important;
        background-repeat: no-repeat !important;
        background-size: 32px !important;
        background-position: center !important;
      }
      
      .intercom-interblocks-article-text {
        width: 77.5% !important;
        float: right !important;
        background-color: #fff !important;
      }
      
      .intercom-interblocks-link-title,
      .intercom-interblocks-article-title {
        color: #519dd4 !important;
        font-size: 15px !important;
        margin: 16px 18px 12px !important;
        line-height: 1.3em !important;
        overflow: hidden !important;
      }
      
      .intercom-interblocks-link-description,
      .intercom-interblocks-article-body {
        margin: 0 18px 12px !important;
        font-size: 14px !important;
        color: #65757c !important;
        line-height: 1.3em !important;
      }
      
      .intercom-interblocks-link-author,
      .intercom-interblocks-article-author {
        margin: 10px 15px !important;
        height: 24px !important;
        line-height: normal !important;
      }
      
      .intercom-interblocks-link-author-avatar,
      .intercom-interblocks-article-author-avatar {
        width: 16px !important;
        height: 16px !important;
        display: inline-block !important;
        vertical-align: middle !important;
        float: left;
        margin-right: 5px;
      }
      
      .intercom-interblocks-link-author-avatar-image,
      .intercom-interblocks-article-author-avatar-image {
        width: 16px !important;
        height: 16px !important;
        border-radius: 50% !important;
        margin: 0 !important;
        vertical-align: top !important;
        font-size: 12px !important;
      }
      
      .intercom-interblocks-link-author-name,
      .intercom-interblocks-article-author-name {
        color: #74848b !important;
        margin: 0 0 0 5px !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        overflow: hidden !important;
      }
      
      .intercom-interblocks-article-written-by {
        color: #8897a4 !important;
        margin: 1px 0 0 5px !important;
        font-size: 12px !important;
        overflow: hidden !important;
        vertical-align: middle !important;
        float: left !important;
      }
    </style>
  </head>
  
  <body style="color: rgba(0, 0, 0, 0.8); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Ubuntu', 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 16px; margin: 0">
    <style type="text/css">
      body {
      margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Ubuntu', 'Open Sans', 'Helvetica Neue', sans-serif; color: rgba(0, 0, 0, 0.8); font-size: 16px;
      }
    </style>
    <table border="0" width="100%" height="100%" cellpadding="0" cellspacing="0"
    style="margin-top: 40px">
      <tr>
        <td>
          <table cellpadding="0" cellspacing="0" border="0" bgcolor="#ffffff" class="container"
          style="margin: 0 auto; width: 600px">
            <tr>
              <td bgcolor="#ffffff" style="background-color: #ffffff; padding-left: 20px; padding-right: 20px">
                <div class="email-backgroundLightSalmon email-paddingTop20 email-paddingLeft20 email-marginBottom0 email-paddingBottom0"
                style="background-color: rgb(252, 231, 221); margin-bottom: 0px; padding-bottom: 0; padding-left: 20px">
                  <table>
                    <tbody>
                      <tr>
                        <td class="email-top email-width70pct email-xs-width60pct" style="vertical-align: top; width: 70%"
                        valign="top">
                          <div class="email-paddingBottom20" style="padding-bottom: 20px">
                             <h1 style="font-family: Georgia, Cambria, 'Times New Roman', Times, serif; font-size: 38px; font-weight: normal">Smiles, shall we take it to the next level?</h1>

                            <br>
                            <p style="font-size: 18px; line-height: 1.55em; margin: 0">Upgrade to access unlimited exclusive stories from top writers and leading experts
                              for $5/month or $50/year.</p>
                            <br>
                            <a class="intercom-h2b-button" href="https://medium.com/upgrade?source=email-10eb2ac33222--membership.activation"
                            target="_blank" style="background-color: #000000; border: 0; border-radius: 999em; color: #ffffff; cursor: pointer; display: inline-block; font-size: 14px; font-style: normal; font-weight: 400; height: 38px; line-height: 38px; outline: 0; padding: 0 55px; position: relative; text-align: center; text-decoration: none; user-select: none; white-space: nowrap">Upgrade</a>
                          </div>
                        </td>
                        <td class="email-bottom email-width30pct email-xs-width40pct" style="vertical-align: bottom; width: 30%"
                        valign="bottom">
                          <img src="https://cdn-images-1.medium.com/1*G24HsipKZeOa2ABhW4PNKw.png" alt=""
                          style="width: auto">
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </div>
                <br>
                <br>
                <br>
                <p class="intercom-align-left" style="font-size: 18px; line-height: 1.55em; margin: 0; text-align: left !important"
                align="left">Thank you for turning to Medium for stories and ideas that matter. We’ve built
                  a brand new, upgraded experience for curious readers like you — it’s just a few
                  clicks away. With membership, you’ll get unlimited access to stories and perspectives
                  from the world’s top experts, authors, and leaders.</p>
                <br>
                <h2 class="intercom-align-left" style="color: #292929; font-size: 22px; font-weight: bold; text-align: left !important"
                align="left">Read exclusive stories</h2>

                <p class="intercom-align-left" style="font-size: 18px; line-height: 1.55em; margin: 0; text-align: left !important"
                align="left">Top writers, thinkers, storytellers, and leading publishers are sharing their
                  most timely, in-depth ideas with members. Upgrade to unlock thousands of member-only
                  stories, including: </p>
                <br>
                <div class="intercom-container intercom-align-left" style="text-align: left !important"
                align="left">
                  <a target="_blank" href="https://medium.com/membership?source=email-10eb2ac33222--membership.acquisition"
                  style="color: #02B875; text-decoration: none">
                    <img src="https://downloads.intercomcdn.com/i/o/34429402/7e42a464d53ec9102fcaf8ce/content.png">
                  </a>
                </div>
                <div class="intercom-container intercom-align-left" style="text-align: left !important"
                align="left">
                  <a target="_blank" href="https://medium.com/membership?source=email-10eb2ac33222--membership.acquisition"
                  style="color: #02B875; text-decoration: none">
                    <img src="https://downloads.intercomcdn.com/i/o/34429447/ae2ca7ab660d89b9b6d03478/PublisherLogos.png">
                  </a>
                </div>
                <br>
                <br>
                <h2 class="intercom-align-left" style="color: #292929; font-size: 22px; font-weight: bold; text-align: left !important"
                align="left">Reward your favorite authors</h2>

                <table>
                  <tbody>
                    <tr>
                      <td width="80%">
                        <div class="email-paddingRight45 email-xs-paddingRight10" style="padding-right: 45px">
                          <p style="font-size: 18px; line-height: 1.55em; margin: 0">You’re in control of where your monthly membership fee goes: the more you read
                            and engage with a member-only story, the more that author or publication is compensated.</p>
                        </div>
                      </td>
                      <td class="" width="20%">
                        <img class="email-fullWidth" src="https://cdn-images-1.medium.com/1*OZjn94UgI-9MQ587Qw72_A.png"
                        alt="" style="width: auto">
                      </td>
                    </tr>
                  </tbody>
                </table>
                <br>
                <br>
                <h2 class="intercom-align-left" style="color: #292929; font-size: 22px; font-weight: bold; text-align: left !important"
                align="left">Enjoy exclusive features</h2>

                <p class="intercom-align-left" style="font-size: 18px; line-height: 1.55em; margin: 0; text-align: left !important"
                align="left">Listen to popular stories on the go with audio narrations recorded by real people
                  — no robot voices allowed. Dive deeper with collections: everything from weekly
                  columns to episodic fiction. And don’t forget to save stories to your new offline
                  reading list.</p>
                <br>
                <div class="intercom-container intercom-align-left" style="text-align: left !important"
                align="left">
                  <a target="_blank" href="https://medium.com/membership?source=email-10eb2ac33222--membership.acquisition"
                  style="color: #02B875; text-decoration: none">
                    <img src="https://downloads.intercomcdn.com/i/o/34430049/8cd1007e81c834c1da5570b2/features.png">
                  </a>
                </div>
                <br>
                <br>
                <br>
                <h1 class="intercom-align-center" style="font-family: Georgia, Cambria, 'Times New Roman', Times, serif; font-size: 38px; font-weight: normal; text-align: center !important"
                align="center">What do you say?</h1>

                <br>
                <div class="intercom-container intercom-align-center" style="text-align: center !important"
                align="center">
                  <a class="intercom-h2b-button" target="_blank" href="https://medium.com/upgrade?source=email-10eb2ac33222--membership.activation"
                  style="background-color: #000000; border: 0; border-radius: 999em; color: #ffffff; cursor: pointer; display: inline-block; font-size: 14px; font-style: normal; font-weight: 400; height: 38px; line-height: 38px; outline: 0; padding: 0 55px; position: relative; text-align: center; text-decoration: none; user-select: none; white-space: nowrap">Upgrade</a>
                </div>
                <br>
                <br>
                <br>
                <br>
                <div class="email-center email-fullWidth" style="text-align: center; width: 100%"
                align="center">
                  <img src="https://cdn-images-1.medium.com/proxy/1*zEt5MsKQBxZOhyb1bHIN-w.png"
                  alt="Medium wordmark" style="width: auto">
                </div>
                <p class="intercom-align-left" style="font-size: 18px; line-height: 1.55em; margin: 0; text-align: left !important"
                align="left"></p>
              </td>
            </tr>
            <tr>
              <td>
                <div style="color: #b3b3b1; font-size: 12px; margin-top: 30px; padding: 15px 0 0; text-align: center"
                align="center">Sent by
                  <a href="https://medium.com?source=email-10eb2ac33222--intercom.marketing"
                  style="color: #8e8e8e; text-decoration: underline">Medium</a>· 799 Market Street, 5th floor, San Francisco, CA 94103
                  <div>
                    <a href="#"
                    style="color: #8e8e8e; text-decoration: underline">Unsubscribe</a> ·
                    <a href="https://help.medium.com/hc/en-us" style="color: #8e8e8e; text-decoration: underline">Help center</a> ·
                    <a href="https://medium.com/policy/medium-privacy-policy-f03bf92035c9?source=email-10eb2ac33222--intercom.marketing"
                    style="color: #8e8e8e; text-decoration: underline">Privacy policy</a>
                  </div>
                </div>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <br>
    
  </body>

</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console