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 xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraph.org/schema/">

<head>

  <meta property="og:title" content="Early Access Available - Read Issue 10 Online Now!" />
  <meta property="fb:page_id" content="43929265776" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <meta name="referrer" content="origin" />
  <meta charset="utf-8">
  <!-- utf-8 works for most cases -->
  <meta name="viewport" content="width=device-width">
  <!-- Forcing initial-scale shouldn't be necessary -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!-- 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>DIYODE Magazine</title>
  <!-- The title tag shows in email notifications, like Android 4.4. -->
  <link rel="shortcut icon" href="https://diyodemag.com/img/favicon/apple-icon-60x60.png" type="image/x-icon">
  <!-- DIYODE Favicon -->
  <link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Titillium+Web:300,400,500,700" rel="stylesheet" type="text/css">
  <!-- Webfonts -->
  <!-- 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. 
    <!--[if !mso]><!-->
  <!-- insert web font reference, eg: <https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Titillium+Web:300,400,500,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 it 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;
      }
    }

    /* What it does: Responsive Line Break  */

    .mobile {
      border-spacing: 0;
      display: none !important;
      height: 0;
      max-height: 0;
      mso-hide: all;
      overflow: hidden;
      visibility: hidden;
      width: 0;
    }

    /* What it does: Display on Desktop width  */

    @media only screen and (max-width: 480px) {
      .web,
      td[class="web"],
      table[class="web"],
      div[class="web"] {
        display: none !important;
      }

      .mobile {
        display: block !important;
        width: auto !important;
        overflow: visible !important;
        height: auto !important;
        max-height: inherit !important;
        font-size: 15px !important;
        line-height: 21px !important;
        visibility: visible !important;
        font-family: Arial, Helvetica, sans-serif !important;
      }


      /* What it does: Display on Mobile width  */
      .mobile-image,
      td[class="mobile-image"],
      table[class="mobile-image"],
      img[class="mobile-image"],
      div[class="mobile-image"],
      tr[class="mobile-image"] {
        display: inline-block !important;
        width: 100% !important;
        overflow: visible !important;
        float: none !important;
        height: auto !important;
        max-height: inherit !important;
        font-size: 15px !important;
        line-height: 21px !important;
        visibility: visible !important;
      }

      .mobile-header {
        font-size: 26px !important;
        line-height: 37px !important;
        -webkit-text-size-adjust: none;
      }




    }
  </style>

  <!-- What it does: Makes background images in 72ppi Outlook render at correct size. -->
  <!--[if gte mso 9]>
    <xml>
        <o:OfficeDocumentSettings>
            <o:AllowPNG/>
            <o:PixelsPerInch>96</o:PixelsPerInch>
        </o:OfficeDocumentSettings>
    </xml>
    <![endif]-->

  <!-- Progressive Enhancements -->
  <style type="text/css">
    /* Media Queries */

    @media screen and (max-width: 600px) {

      .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;
      }
      /* 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;
      }

      /* What it does: Adjust typography on small screens to improve readability */
      .email-container p {
        font-size: 17px !important;
        line-height: 22px !important;
      }


    }
  </style>

  <body width="100%" bgcolor="#000000" style="margin: 0; mso-line-height-rule: exactly;">
    <!--[if mso]>
    <style type="text/css">
    body, table, td, a, h1, h2, p {font-family: Arial, Helvetica, sans-serif !important;}
    </style>
    <![endif]-->
    <center style="width: 100%; background: #000; text-align: left;">

      <!-- View Online : BEGIN -->
      <table role="presentation" aria-hidden="true" cellspacing="0" cellpadding="0" border="0" align="center" width="600" style="margin: auto; background: #000;" class="email-container">
        <tr>
          <td class="center-on-narrow" valign="middle" style="text-align: right; padding-top: 10px; padding-right: 10px; padding-bottom:10px; font-family:'Titillium Web', sans-serif; font-size: 11px; line-height: 12px; color: #ffffff;">
            <a href="#" style="margin: 0; color:#BABABA;">View Online</a>
          </td>
        </tr>
      </table>
      <!-- View Online : END -->

      <!-- Email Header Logo: BEGIN -->
      <table role="presentation" aria-hidden="true" cellspacing="0" cellpadding="0" border="0" align="center" width="600" style="margin: auto;background: #000;" class="email-container">
        <tr>
          <td class="" style="padding: 20px 0; text-align: center">
            <a href="https://diyodemag.com/current_issue"><img src="https://gallery.mailchimp.com/3389fcec4a4b5a95837dbc071/images/d93bbd0e-3fad-4329-a437-ef7fd86d27d4.png" aria-hidden="true" width="243" height="inherit" alt="DIYODE" border="0" style="height: auto; background: #000; font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 24px; color: #fff;"></a>
          </td>
        </tr>
      </table>
      <!-- Email Header Logo: END -->

      <!-- Email Body : BEGIN -->
      <table role="presentation" aria-hidden="true" cellspacing="0" cellpadding="0" border="0" align="center" width="600" style="margin: auto;" class="email-container">
        <!-- Hero Image, Flush : BEGIN -->
        <tr>
          <td bgcolor="#00292f">
            <img src="https://gallery.mailchimp.com/3389fcec4a4b5a95837dbc071/images/dad65370-4800-4f78-a872-47e24138609a.gif" aria-hidden="true" width="600" height="inherit" alt="" border="0" align="center" style="width: 100%; max-width: 600px; height: auto; background: #000000; font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 24px; color: #ffffff;"
              class="g-img">
          </td>
        </tr>
        <!-- Hero Image, Flush : END -->

        <!-- 1 Column Text + Button : BEGIN -->

        <tr>
          <td class="" bgcolor="#0a1222" style="padding: 0px 40px 10px; font-family:'Roboto', sans-serif; font-size: 32px; line-height: 36px; color: #ffffff; font-weight:600; text-align: center;">
            <p style="margin: 0;">
              Early Access Activated!<br>
            </p>
          </td>
        </tr>
        <tr>
          <td class="" bgcolor="#0a1222" style="padding: 0px 50px 10px; font-family:'Roboto', sans-serif; font-size: 16px; line-height: 24px; color: #ffffff; font-weight:100; text-align: center;">
            <p style="margin: 0;">
              Your early access to Issue 10 has been activated and the magazine is now available in your digital library.<br><br>
            </p>
          </td>
        </tr>
        <!-- Button : BEGIN -->
        <tr>
          <td bgcolor="#0a1222" style="padding: 0 40px 40px; font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 24px; color: #ffffff;">
            <table role="presentation" aria-hidden="true" cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto">
              <tr>
                <td style="border-radius: 0px; background: #d71149; text-align: center;" class="button-td">
                  <a href="https://diyodemag.com/digital_library" style="background: #d71149; border: 13px solid #d71149; font-family: sans-serif; font-size: 16px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: 500; text-transform: uppercase;"
                    class="button-a">
                                    <span style="color:#d71149;">    </span><span style="color:#ffffff;">Read Now</span><span style="color:#d71149;">    </span>
                                </a>
                </td>
              </tr>
            </table>
            <!-- Button : END -->
          </td>
        </tr>
        <!-- Spacer : BEGIN -->
        <tr>
          <td class="mobile-padding" bgcolor="#000" dir="ltr" align="center" valign="top" width="100%" style="padding: 5px;">
            <table role="presentation" aria-hidden="true" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
              <tr>

              </tr>
            </table>
          </td>
        </tr>
        <!-- Spacer : END -->

        <!-- Social : BEGIN-->
        <tr align="center" style="text-align:center;">
          <td bgcolor="#000000" style="text-align:center;margin-left: auto; margin-right: auto;">
            <table role="presentation" aria-hidden="true" cellspacing="0" cellpadding="0" border="0" width="100%" align="center" style="width:100% !important; text-align:center !important;">
              <tr align="center" width="100px" style="width:100px; text-align:center;">
                <td align="center" style="text-align:center; padding-top: 40px; font-family: 'Roboto', sans-serif; font-size: 16px; line-height: 30px; color: #ffffff; font-weight:300;  display: block; margin-left: auto; margin-right: auto;">
                  <a href="https://www.facebook.com/diyodemag"><img alt="Facebook" src="https://gallery.mailchimp.com/3389fcec4a4b5a95837dbc071/images/4a477679-43d7-4c73-a537-9250549ab5ac.png" width="20px" height="20px"></a>

                  <a href="https://www.twitter.com/diyodemag"><img alt="Twitter" src="https://gallery.mailchimp.com/3389fcec4a4b5a95837dbc071/images/94f20f61-929b-4be9-be60-082189be7103.png" width="20px" height="20px"></a>

                  <a href="https://www.instagram.com/diyodemag/"><img alt="Instagram" src="https://gallery.mailchimp.com/3389fcec4a4b5a95837dbc071/images/babe40e6-a181-4da1-9692-99cbe907871a.png" width="18px" height="20px"></a>

                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <!-- Social : END -->

      <!-- Email Footer : BEGIN -->
      <table bgcolor="#000" role="presentation" aria-hidden="true" cellspacing="0" cellpadding="0" border="0" align="center" width="600" style="margin: auto;" class="email-container">
        <tr>
          <td style="padding: 10px 10px; width: 100%; font-size: 11px; font-family: 'Roboto', sans-serif; line-height:18px; text-align: center; color: #fff; font-weight:100;" class="x-gmail-data-detectors">
            <a href="https://www.diyodemag.com" style="margin: 0 0 10px 0; font-family: 'Titillium Web', sans-serif; font-size: 24px; line-height: 32px; letter-spacing:0.5px; color: #fff; font-weight: 500; text-decoration:none;">diyodemag.com</a><br><br>            All dollar amounts in AUD. <a href="https://diyodemag.com/terms" style="color:#fff;">Terms &amp; Conditions.</a><br> DIYODE Magazine Levels 1 & 2 156 Mann Street Gosford, NSW 2250 Australia
            <br> You received this email because you opted in at our website.<br> Copyright © 2018 DIYODE Magazine <br class="mobile">All rights reserved.<br> Don't want any more of these? <a href="#" style="color:#fff;">Unsubscribe.</a>

          </td>
        </tr>
      </table>
      <!-- Email Footer : END -->

    </center>
  </body>
</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