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 includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

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

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

              
                <head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>Designmodo Spring Deal</title>
  <style>
    html,
    body {
      margin: 0;
      padding: 0;
      background-color: #0D003B;
    }

    @media screen and (max-width: 750px) {
      table[width="750"] {
        width: 100% !important;
      }

      table[width="540"] {
        width: 80% !important;
      }
    }

    @media screen and (max-width: 550px) {
      td[height="180"] {
        height: 80px !important;
      }

      td[height="45"] {
        height: 30px !important;
      }

      td[height="30"] {
        height: 20px !important;
      }

      td[height="20"] {
        height: 10px !important;
      }

      .header td[height="10"] {
        height: 3px !important;
      }

      .header__title {
        font-size: 12px !important;
        letter-spacing: -0.2px !important;
      }

      .description__title {
        font-size: 30px !important;
        line-height: 38px !important;
        letter-spacing: -0.5px !important;
      }

      .description__subtitle {
        font-size: 14px !important;
        line-height: 20px !important;
      }

      .summary__item {
        font-size: 18px !important;
      }

      .summary__total {
        font-size: 26px !important;
      }

      .button {
        font-size: 13px !important;
        letter-spacing: 0.54 !important;
        line-height: 48px !important;
      }

      .footer td[height="10"] {
        height: 3px !important;
      }

      .footer__item {
        font-size: 12px !important;
        letter-spacing: -0.16px !important;
      }
    }
  </style>
</head>

<body bgcolor="#0D003B">
  <div style="background-color: #0d003b;">
    <!-- [if gte mso 9]>
      <v:background xmlns:v="urn:schemas-microsoft-com:vml" fill="t">
        <v:fill type="tile" src="https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/background.png" color="#0D003B"/>
      </v:background>
      <![endif]-->
    <table cellpadding="0" cellspacing="0" width="750" align="center" background="https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/background.png" style="margin: 0 auto; background-image: url('https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/background.png'); background-repeat: no-repeat; background-position: top left; background-size: 90% auto;">
      <!-- margin:start -->
      <tbody>
        <tr>
          <td height="45"></td>
        </tr>
        <!-- margin:end -->
        <!-- content:start -->
        <tr>
          <td>
            <table cellpadding="0" cellspacing="0" width="540" align="center" style="margin: 0 auto;">
              <tbody>
                <tr>
                  <td>
                    <!-- header:start -->
                    <table cellpadding="0" cellspacing="0" width="100%" class="header">
                      <tbody>
                        <tr>
                          <td><a href="https://designmodo.com/" target="_blank" style="display: block;" rel="noopener"> <img src="https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/logo.png" style="display: block; outline: 0; border: 0;" width="30"> </a></td>
                          <td>
                            <table cellpadding="0" cellspacing="0" align="right">
                              <tbody>
                                <tr>
                                  <td height="10"></td>
                                </tr>
                                <tr>
                                  <td class="header__title" style="font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-size: 15px; color: #5ea38e; letter-spacing: -0.2px; line-height: 17px; text-align: right;">No images? <a href="#" target="_blank" style="text-decoration: none; color: #acf1dc;" rel="noopener">View online</a>.</td>
                                </tr>
                              </tbody>
                            </table>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                    <!-- header:end -->
                  </td>
                </tr>
                <!-- margin:start -->
                <tr>
                  <td height="180"></td>
                </tr>
                <!-- margin:end -->
                <tr>
                  <td>
                    <table cellpadding="0" cellspacing="0" width="100%">
                      <tbody>
                        <tr>
                          <td class="description__title" style="font-size: 60px; font-weight: bolder; font-family: Roboto, Helvetica Neue, Arial, sans-serif; color: #f6fffc; letter-spacing: -1.8px; line-height: 70px;">Two products for the price of one!</td>
                        </tr>
                        <tr>
                          <td height="25"></td>
                        </tr>
                        <tr>
                          <td class="description__subtitle" style="color: #acf1dc; font-size: 18px; line-height: 28px; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-weight: medium;">Start the spring with a good deal! This week only you can purchase two of our most popular website builders for the price of one!</td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
                <!-- margin:start -->
                <tr>
                  <td height="35"></td>
                </tr>
                <!-- margin:end -->
                <!-- table:start -->
                <tr>
                  <td>
                    <table cellpadding="0" cellspacing="0" width="100%">
                      <tbody>
                        <tr>
                          <td>
                            <table cellpadding="0" cellspacing="0" width="100%" style="text-align: left;" class="summary">
                              <tbody>
                                <tr>
                                  <th class="summary__header" style="color: #0e705a; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-weight: bold; text-transform: uppercase; font-size: 11px;">Product name</th>
                                  <th class="summary__header" style="color: #0e705a; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-weight: bold; text-transform: uppercase; font-size: 11px;">Qti</th>
                                  <th class="summary__header" style="text-align: right; color: #0e705a; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-weight: bold; text-transform: uppercase; font-size: 11px;">Price</th>
                                </tr>
                                <tr>
                                  <td colspan="3" height="20"></td>
                                </tr>
                                <tr>
                                  <td class="summary__item" style="color: #acf1dc; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-size: 20px;">Slides Framework 3</td>
                                  <td class="summary__item" style="color: #acf1dc; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-size: 20px;">1</td>
                                  <td class="summary__item" style="text-align: right; color: #acf1dc; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-size: 20px;">$249</td>
                                </tr>
                                <tr>
                                  <td colspan="3" height="20"></td>
                                </tr>
                                <tr>
                                  <td colspan="3" style="border-bottom: 1px dashed #0a3f53;"></td>
                                </tr>
                                <tr>
                                  <td colspan="3" height="20"></td>
                                </tr>
                                <tr>
                                  <td class="summary__item" style="color: #acf1dc; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-size: 20px;">Startup Framework 2</td>
                                  <td class="summary__item" style="color: #acf1dc; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-size: 20px;">1</td>
                                  <td class="summary__item" style="text-align: right; color: #acf1dc; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-size: 20px;">$249</td>
                                </tr>
                                <tr>
                                  <td colspan="3" height="20"></td>
                                </tr>
                                <tr>
                                  <td colspan="3" style="border-bottom: 1px dashed #0a3f53;"></td>
                                </tr>
                                <tr>
                                  <td colspan="3" height="30"></td>
                                </tr>
                                <tr>
                                  <td colspan="3">
                                    <table cellpadding="0" cellspacing="0" align="right">
                                      <tbody>
                                        <tr>
                                          <td valign="bottom"><img src="https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/price.png" width="64" style="display: block;"></td>
                                          <td width="10"></td>
                                          <td class="summary__total" style="color: #f6fffc; font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-weight: bold; font-size: 36px; line-height: 1;">$249</td>
                                        </tr>
                                      </tbody>
                                    </table>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
                <!-- table:end -->
                <!-- margin:start -->
                <tr>
                  <td height="45"></td>
                </tr>
                <!-- margin:end -->
                <tr>
                  <td>
                    <table cellpadding="0" cellspacing="0" width="100%">
                      <tbody>
                        <tr>
                          <td><a class="button" href="https://designmodo.com/cart/" target="_blank" style="font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-weight: bold; letter-spacing: 0.4px; display: block; background: #0B6D58; color: #f6fffc; font-size: 17px; text-transform: uppercase; text-align: center; text-decoration: none; line-height: 60px; border-radius: 5px;"
                              rel="noopener">Buy two products for only $249</a></td>
                        </tr>
                        <tr>
                          <td height="20"></td>
                        </tr>
                        <tr>
                          <td><a class="button" href="https://designmodo.com/shop/" target="_blank" style="font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-weight: bold; letter-spacing: 0.4px; display: block; border: 2px solid #0B6D58; color: #acf1dc; font-size: 17px; text-transform: uppercase; text-align: center; text-decoration: none; line-height: 56px; border-radius: 5px;"
                              rel="noopener">See all products</a></td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
                <!-- margin:start -->
                <tr>
                  <td height="35"></td>
                </tr>
                <!-- margin:end -->
                <tr>
                  <td>
                    <table cellpadding="0" cellspacing="0" align="center" style="margin: 0 auto;">
                      <tbody>
                        <tr>
                          <td><a href="https://www.facebook.com/designmodo" target="_blank" style="display: block;" rel="noopener"> <img src="https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/facebook.png" style="display: block; border: 0;" width="20"> </a></td>
                          <td width="25"></td>
                          <td><a href="https://twitter.com/designmodo" target="_blank" style="display: block;" rel="noopener"> <img src="https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/twitter.png" style="display: block; border: 0;" width="20"> </a></td>
                          <td width="25"></td>
                          <td><a href="https://medium.com/@designmodo" target="_blank" style="display: block;" rel="noopener"> <img src="https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/medium.png" style="display: block; border: 0;" width="20"> </a></td>
                          <td width="25"></td>
                          <td><a href="https://www.instagram.com/designmodo/" target="_blank" style="display: block;" rel="noopener"> <img src="https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/instagram.png" style="display: block; border: 0;" width="20"> </a></td>
                          <td width="25"></td>
                          <td><a href="https://dribbble.com/designmodo" target="_blank" style="display: block;" rel="noopener"> <img src="https://send.designmodo.com/upload/templates/template_5aaa31f87a9f3/Newsletter21/dribbble.png" style="display: block; border: 0;" width="20"> </a></td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
                <!-- margin:start -->
                <tr>
                  <td height="45"></td>
                </tr>
                <!-- margin:end -->
                <tr>
                  <td>
                    <table cellpadding="0" cellspacing="0" style="text-align: center;" width="100%" class="footer">
                      <tbody>
                        <tr>
                          <td class="footer__item" style="font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-size: 15px; color: #5ea38e; letter-spacing: -0.2px; line-height: 17px;">Made for you by Designmodo Team. We appreciate You!</td>
                        </tr>
                        <tr>
                          <td height="10"></td>
                        </tr>
                        <tr>
                          <td class="footer__item" style="font-family: Roboto, Helvetica Neue, Arial, sans-serif; font-size: 15px; color: #5ea38e; letter-spacing: -0.2px; line-height: 17px;"><a href="#" target="_blank" style="text-decoration: none; color: #acf1dc;" rel="noopener">View in Browser</a>, <a href="#" target="_blank" style="text-decoration: none; color: #acf1dc;" rel="noopener">Unsubscribe</a></td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
              </tbody>
            </table>
          </td>
        </tr>
        <!-- content:end -->
        <!-- margin:start -->
        <tr>
          <td height="45"></td>
        </tr>
        <!-- margin:end -->
      </tbody>
    </table>
  </div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console