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.

            
              <head> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
  <!--[if !mso]><!--> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge"> 
  <!--<![endif]--> 
  <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
  <title></title> 
  <style type="text/css">
    @font-face{font-family:"PostoniStandardBold";src:url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Bold/PostoniStandard-Bold.eot);src:url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Bold/PostoniStandard-Bold.eot?) format("embedded-opentype"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Bold/PostoniStandard-Bold.woff) format("woff"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Bold/PostoniStandard-Bold.ttf) format("truetype"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Bold/PostoniStandard-Bold.svg#web) format("svg");font-style:normal;font-weight:normal}
    @font-face{font-family:"PostoniStandardRegular";src:url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Regular/PostoniStandard-Regular.eot);src:url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Regular/PostoniStandard-Regular.eot?) format("embedded-opentype"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Regular/PostoniStandard-Regular.woff) format("woff"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Regular/PostoniStandard-Regular.ttf) format("truetype"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Postoni-Standard-Regular/PostoniStandard-Regular.svg#web) format("svg");font-style:normal;font-weight:normal}
    @font-face{font-family:"FranklinITCProBold";src:url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Franklin-ITC-Pro-Bold/e9e4c4dc-e548-4fef-9aa1-80c9cd0f02ce-2.eot);src:url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Franklin-ITC-Pro-Bold/e9e4c4dc-e548-4fef-9aa1-80c9cd0f02ce-2.eot?) format("embedded-opentype"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Franklin-ITC-Pro-Bold/e9e4c4dc-e548-4fef-9aa1-80c9cd0f02ce-1.ttf) format("truetype"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Franklin-ITC-Pro-Bold/e9e4c4dc-e548-4fef-9aa1-80c9cd0f02ce-4.svg#web) format("svg");font-style:normal;font-weight:normal}
    @font-face{font-family:"FranklinITCProLight";src:url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Franklin-ITC-Pro-Light/b147bee6-eb48-46e1-86e1-2538a46794b6-2.eot);src:url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Franklin-ITC-Pro-Light/b147bee6-eb48-46e1-86e1-2538a46794b6-2.eot?) format("embedded-opentype"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Franklin-ITC-Pro-Light/b147bee6-eb48-46e1-86e1-2538a46794b6-1.ttf) format("truetype"),url(http://css.washingtonpost.com/wp-stat/wapo-sass-assets/fonts/Franklin-ITC-Pro-Light/b147bee6-eb48-46e1-86e1-2538a46794b6-4.svg#web) format("svg");font-style:normal;font-weight:normal}
    
    body {
    margin: 0 !important;
    padding: 0;
    background-color: #ffffff;
}
table {
    border-spacing: 0;
    font-family: sans-serif;
    color: #333333;
}
td {
    padding: 0;
}
img {
    border: 0;
}
div[style*="margin: 16px 0"] { 
    margin:0 !important;
}
.wrapper {
    width: 100%;
    table-layout: fixed;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
.webkit {
    max-width: 650px;
    margin: 0 auto;
}
.outer {
Margin: 0 auto;
    width: 100%;
    max-width: 650px;
}

.outer_content {
Margin: 0 auto;
    width: 100%;
    max-width: 650px;
}
.outer_content {
Margin: 0 auto;
    width: 100%;
    max-width: 650px;
}


.contents {
width: 100%;
}


.full-width-image img {
    width: 100%;
    max-width: 650px;
    height: auto;
}

a {text-decoration: none;}
        
[owa] .owa-link div {
    display:block !important;
}

[owa] button {
    display: block !important;
    margin: 0 auto !important;
}
@media only screen and (max-width: 639px){
      *[class].mobile-line-break{ width:100% !important; display:block !important; }
      *[class].mobile-pad-top{ padding-top:5px !important; }
      }
    </style> 
  <!--[if (gte mso 9)|(IE)]>
    <style type="text/css">
        table {border-collapse: collapse;}
    </style>
    <![endif]--> 
 </head> 
 <body style="padding: 0; background-color: #ffffff; margin: 0;"> 
  <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; font-family: sans-serif; color: #333333; margin: auto 0;"> 
   <tbody> 
    <tr> 
     <td align="center" valign="top" class="wrapper" style="padding: 0; width: 100%; table-layout: fixed; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;" width="100%"> 
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; font-family: sans-serif; color: #333333; margin: auto 0;"> 
       <tbody> 
        <tr> 
         <td bgcolor="#f1f1f1" style="padding: 0; background-color: #f1f1f1;"> 
          <div class="webkit" style="max-width: 650px; margin: 0 auto;"> 
           <!--[if (gte mso 9)|(IE)]>
<table width="650" align="center">
<tr>
<td>
<![endif]--> 
           <table class="outer" align="center" cellpadding="0" cellspacing="0" border="0" style="border-spacing: 0; font-family: sans-serif; color: #333333; Margin: 0 auto; width: 100%; max-width: 650px;" width="100%"> 
            <tbody> 
             <tr> 
              <td style="padding: 0; visibility: hidden; mso-hide: all; font-size: 1px; color: #f1f1f1; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; background-color: #f1f1f1; display: none;" bgcolor="#f1f1f1"> Last chance to save 50%. Support real journalism. </td> 
             </tr> 
            </tbody> 
           </table> 
           <!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]--> 
          </div> </td> 
        </tr> 
        <tr> 
         <td bgcolor="#f1f1f1" style="padding: 0; background-color: #f1f1f1;"> 
          <div class="webkit" style="max-width: 650px; margin: 0 auto;"> 
           <!--[if (gte mso 9)|(IE)]>
<table width="100%" align="center">
<tr>
<td>
<![endif]--> 
           <table class="outer_content" align="center" cellpadding="0" cellspacing="0" border="0" width="100%" style="border-spacing: 0; font-family: sans-serif; color: #333333; Margin: 0 auto; width: 100%; max-width: 650px;"> 
            <tbody> 
             <tr> 
              <td align="center" valign="top" style="padding: 0; padding-top: 5px; padding-bottom: 0px;"> 
               <!--[if (gte mso 9)|(IE)]>
<table width="100%" align="center">
<tr>
<td>
<![endif]--> 
               <table class="outer" align="center" cellpadding="0" cellspacing="0" border="0" width="100%" style="border-spacing: 0; font-family: sans-serif; color: #333333; Margin: 0 auto; width: 100%; max-width: 650px;"> 
                <tbody> 
                 <tr> 
                  <td align="center" valign="top" style="padding: 0;"> 
                   <!--[if (gte mso 9)|(IE)]>
<table width="650" align="center">
<tr>
<td>
<![endif]--> 
                   <table class="outer" align="center" cellpadding="0" cellspacing="0" border="0" width="100%" style="border-spacing: 0; font-family: sans-serif; color: #333333; Margin: 0 auto; width: 100%; max-width: 650px;"> 
                    <tbody> 
                     <tr> 
                      <td align="center" valign="top" bgcolor="#f1f1f1" style="padding: 0; background-color: #f1f1f1; text-align: center; font-family: arial, sans-serif; font-size: 20px; color: #ffffff; font-weight: bold; text-align: center; padding-top: 15px; padding-bottom: 15px;"><a href="https://subscribe.washingtonpost.com/acq/?promo=e_di_f2318_P&amp;ttexclude=1&amp;view=1" target="_blank" style="text-decoration: none;"><img src="https://palomaimages.washingtonpost.com/pr2/0c3a4cb02934a7cde0ba1d4ddf198bae-995-155-70-8-wapo_logo_blk_03.png" width="220" alt="The Washington Post" border="0" style="border: 0; border-width: 0;"></a></td> 
                     </tr> 
                     <!--This row has all offer text and CTAs. Nothing full-width should go in this row.--> 
                     <tr> 
                      <td align="center" valign="top" style="padding: 0; background-color: #081d54; padding-top: 25px;" bgcolor="#081d54"> 
                       <table width="90%" cellpadding="0" cellspacing="0" border="0" align="center" style="border-spacing: 0; font-family: sans-serif; color: #333333;"> 
                        <tbody> 
                         <tr> 
                          <td align="center" valign="top" style="padding: 0; background-color: #081d54; padding-top: 0px;" bgcolor="#081d54"> 
                           <table width="85%" cellpadding="0" cellspacing="0" border="0" align="center" style="border-spacing: 0; font-family: sans-serif; color: #333333;"> 
                            <tbody> 
                             <tr> 
                              <td align="center" valign="top" bgcolor="#081d54" style="padding: 0; background-color: #081d54; color: #ffffff; padding-bottom: 15px; text-align: center; font-family: arial, sans-serif; font-size: 22px; line-height: 150%;"> 
                               <div style="font-family:'FranklinITCProLight', arial, sans-serif !important; line-height:150%;"> 
                                <a href="https://subscribe.washingtonpost.com/acq/?promo=e_di_f2318_P&amp;ttexclude=1&amp;view=1" target="_blank" style="text-decoration: none; color: #ffffff;"><span style="color: #ffffff; text-decoration: none;"><strong>SALE EXTENDED!</strong></span></a> 
                               </div> </td> 
                             </tr> 
                            </tbody> 
                           </table> </td> 
                         </tr> 
                         <tr> 
                          <td bgcolor="#081d54" style="padding: 0; background-color: #081d54; color: #ffffff; font-size: 48px; font-family: Georgia, 'Times New Roman', serif; padding-top: 5px; padding-bottom: 5px; line-height: 100%;" align="center" valign="middle"> 
                           <div> 
                            <a href="https://subscribe.washingtonpost.com/acq/?promo=e_di_f2318_P&amp;ttexclude=1&amp;view=1" target="_blank" style="text-decoration: none; color: #ffffff;"> <span style="font-family:'PostoniStandardBold', Georgia, serif !important; color: #ffffff;">Save 50%<br>for&nbsp;one&nbsp;year.</span></a> 
                           </div> </td> 
                         </tr> 
                         <tr> 
                          <td align="center" valign="top" style="padding: 0; background-color: #081d54; padding-top: 20px;" bgcolor="#081d54"> 
                           <table width="85%" cellpadding="0" cellspacing="0" border="0" align="center" style="border-spacing: 0; font-family: sans-serif; color: #333333;"> 
                            <tbody> 
                             <tr> 
                              <td align="center" valign="top" bgcolor="#081d54" style="padding: 0; background-color: #081d54; color: #ffffff; padding-bottom: 15px; text-align: center; font-family: arial, sans-serif; font-size: 16px; line-height: 150%;"> 
                               <div style="font-family:'FranklinITCProLight', arial, sans-serif !important; line-height:150%;"> 
                                <a href="https://subscribe.washingtonpost.com/acq/?promo=e_di_f2318_P&amp;ttexclude=1&amp;view=1" target="_blank" style="text-decoration: none; color: #ffffff;"><span style="color: #ffffff; text-decoration: none;">Every story, every feature, every&nbsp;insight.</span></a> 
                               </div> </td> 
                             </tr> 
                            </tbody> 
                           </table> </td> 
                         </tr> 
                         <tr> 
                          <td align="center" valign="top" style="padding: 0; padding-top: 15px; Margin: 0 auto;"> 
                           <!--[if (gte mso 9)|(IE)]>
<table width="600" align="center">
<tr>
<td>
<![endif]--> 
                           <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center" style="border-spacing: 0; font-family: sans-serif; color: #333333; margin: 0 auto;"> 
                            <tbody> 
                             <tr> 
                              <td align="center" valign="top" style="padding: 0; padding-bottom: 5px;"> 
                               <div> 
                                <!--[if mso]>
                <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="https://subscribe.washingtonpost.com/acquisition/?promo=e_di_f2318_P&amp;view=1&amp;ttexclude=1" target="_blank" style="height:50px;v-text-anchor:middle;width:275px;" arcsize="8%" stroke="f" fillcolor="#ffffff">
                <w:anchorlock/>
                <center style="color:#081d54;font-family:sans-serif;font-size:18px;font-weight:bold; mso-line-height-rule:exactly; line-height:18px;">Subscribe now</center>
                </v:roundrect>
                <![endif]--> 
                                <!--[if !mso]><!--> 
                                <table cellspacing="0" cellpadding="0" border="0" align="center" style="border-spacing: 0; font-family: sans-serif; color: #333333;"> 
                                 <tbody> 
                                  <tr> 
                                   <td align="center" width="275" height="50" bgcolor="#ffffff" style="padding: 0; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; color: #081d54;"> <a href="https://subscribe.washingtonpost.com/acq/?promo=e_di_f2318_P&amp;ttexclude=1&amp;view=1" target="_blank" style="font-size: 18px; font-weight: bold; font-family: Helvetica, Arial, sans-serif; text-decoration: none; mso-line-height-rule: exactly; line-height: 18px; width: 100%;"> <span style="color: #081d54; font-family:Helvetica, Arial, sans-serif; font-weight:bold;">Subscribe now</span></a> </td> 
                                  </tr> 
                                 </tbody> 
                                </table> 
                                <!--<![endif]--> 
                               </div> </td> 
                             </tr> 
                            </tbody> 
                           </table> 
                           <!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]--></td> 
                         </tr> 
                         <tr> 
                          <td align="center" valign="top" style="padding: 0; background-color: #081d54; padding-top: 0px;" bgcolor="#081d54"> 
                           <table width="85%" cellpadding="0" cellspacing="0" border="0" align="center" style="border-spacing: 0; font-family: sans-serif; color: #333333;"> 
                            <tbody> 
                             <tr> 
                              <td align="center" valign="top" bgcolor="#081d54" style="padding: 0; background-color: #081d54; color: #ffffff; padding-bottom: 15px; text-align: center; font-family: arial, sans-serif; font-size: 10px; line-height: 150%;"> 
                               <div style="font-family:'FranklinITCProLight', arial, sans-serif !important; line-height:150%;"> 
                                <a href="https://subscribe.washingtonpost.com/acq/?promo=e_di_f2318_P&amp;ttexclude=1&amp;view=1" target="_blank" style="text-decoration: none; color: #ffffff;"><span style="color: #ffffff; text-decoration: none;">Limited time offer. Expires 2/23/18.</span></a> 
                               </div> </td> 
                             </tr> 
                            </tbody> 
                           </table> </td> 
                         </tr> 
                        </tbody> 
                       </table> </td> 
                     </tr> 
                     <tr> 
                      <td align="center" valign="bottom" bgcolor="#081d54" style="padding: 0; background-color: #081d54; color: #ffffff; text-align: center;"> 
                       <div class="owa-link"> 
                        <a href="https://subscribe.washingtonpost.com/acq/?promo=e_di_f2318_P&amp;ttexclude=1&amp;view=1" target="_blank" style="text-decoration: none;"><img src="https://palomaimages.washingtonpost.com/pr2/347cca7fdbda0b87716e71aeff0f285c-660-390-70-8-evergreen_50poff_shadows_03.jpg" width="650" border="0" alt="" style="border: 0; border-width: 0; width: 100%; max-width: 650px; height: auto; display: block;"></a> 
                       </div></td> 
                     </tr> 
                    </tbody> 
                   </table> 
                   <!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]--></td> 
                 </tr> 
                </tbody> 
               </table> 
               <!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]--></td> 
             </tr> 
            </tbody> 
           </table> 
           <!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]--> 
          </div> </td> 
        </tr> 
        <tr> 
         <td align="center" valign="top" width="100%" style="padding: 0; background-color: #f1f1f1;" bgcolor="#f1f1f1"> 
          <table border="0" cellspacing="0" cellpadding="0" width="100%" style="border-spacing: 0; font-family: sans-serif; color: #333333; margin: auto 0;"> 
           <tbody> 
            <tr> 
             <td align="center" valign="top" style="padding: 0px 20px;"> 
              <!--[if (gte mso 9)|(IE)]>
						<table width="650" align="center" cellpadding="0" cellspacing="0" border="0">
						<tr>
						<td align="center">
						<![endif]--> 
              <table width="100%" cellspacing="0" cellpadding="0" align="center" style="border-spacing: 0; font-family: sans-serif; color: #333333; margin: auto 0;"> 
               <tbody> 
                <tr> 
                 <td align="center" valign="top" style="padding: 0; font-family: Helvetica, arial, sans-serif; font-size: 18px; line-height: 130%; padding-top: 20px; padding-bottom: 20px;"> <img alt="" border="0" data-no-process="true" height="1" src="https://s2.washingtonpost.com/beacon/5a906b28fe1ff612bc2b2014/bWlrZW5lbHNvbjAxQGdtYWlsLmNvbQ%3D%3D/wp-logo.png" width="1" style="border: 0;"> 
                  <table width="90%" cellspacing="0" cellpadding="0" align="center" style="border-spacing: 0; font-family: sans-serif; color: #333333; margin: auto 0;"> 
                   <tbody> 
                    <tr> 
                     <td align="center" valign="top" style="padding: 0; line-height: 120%; font-size: 11px; color: #999999;">© <a href="#" style="color: #999999; text-decoration: none; cursor: text;" target="_blank">2018 The&nbsp;Washington&nbsp;Post</a><br><a href="#" style="color: #999999; text-decoration: none; cursor: text;" target="_blank">1301 K St NW, Washington, DC 20071</a></td> 
                    </tr> 
                    <tr> 
                     <td align="center" valign="top" style="padding: 0; line-height: 130%; font-size: 11px; color: #999999; padding-top: 15px;"> You received this email because you are registered on <a href="https://www.washingtonpost.com/" target="_blank" style="color: #999999; text-decoration: underline;">washingtonpost.com</a> or have signed up for a newsletter. <br> <a href="#" style="text-decoration: none; color: #999999;" target="_blank"><span style="color:#999999 !important; text-decoration:none;"><strong>Unsubscribe</strong></span></a> from Washington&nbsp;Post Special Offer emails. <br><br></td> 
                    </tr> 
                    <tr> 
                     <td align="center" valign="top" style="padding: 0; line-height: 120%; padding-bottom: 30px; color: #f1f1f1;"><span style="background-color: #f1f1f1; clip: rect(0px, 0px, 0px, 0px); color: #f1f1f1; display: none; font-size: 1px; height: 0; mso-line-height-rule:exactly; line-height: 1px; margin: -1px; max-height: 1px; max-width: 0; mso-hide: all; overflow: hidden; padding: 0; position: absolute; visibility: hidden; width: 0; display:none;"><img data-no-process="true" src="https://s2.washingtonpost.com/beacon/5a906b28fe1ff612bc2b2014/bWlrZW5lbHNvbjAxQGdtYWlsLmNvbQ%3D%3D/wp-logo.png" alt="" height="1" width="1" style="display: none; border: none;" border="0"></span></td> 
                    </tr> 
                   </tbody> 
                  </table> </td> 
                </tr> 
               </tbody> 
              </table> 
              <!--[if (gte mso 9)|(IE)]>
						</td>
						</tr>
						</table>
						<![endif]--> </td> 
            </tr> 
           </tbody> 
          </table> </td> 
        </tr> 
       </tbody> 
      </table> </td> 
    </tr> 
   </tbody> 
  </table>  
 
</body>
            
          
!
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