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.

            
              

<div style="display:none">

</div>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head><META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
		<title>Casper</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width" />
		<meta name="format-detection" content="telephone=no" />
		<style type="text/css">
			body { margin: 0 !important; padding: 0 !important; -webkit-text-size-adjust: 100% !important; -ms-text-size-adjust: 100% !important; -webkit-font-smoothing: antialiased !important; }
			img { border: 0 !important; outline: none !important; display: block !important; }
			p { margin: 0px !important; padding: 0px !important; }
			table { border-collapse: collapse; mso-table-lspace: 0px; mso-table-rspace: 0px; }
			td, a, span { border-collapse: collapse; mso-line-height-rule: exactly; }
			.ExternalClass * { line-height: 100%; }
			div { line-height: inherit !important; }
			.blue a {text-decoration: underline;color: #2f539f;}
			.em_link a {text-decoration: underline;color: #00237e;}
			td[class=em_aside] { padding-left: 10px !important; padding-right: 10px !important; }
			@media only screen and (min-width:481px) and (max-width:600px) {
			table[class=em_wrapper] { width: 100% !important; }
			td[class=em_aside] { padding-left: 10px !important; padding-right: 10px !important; }
			td[class=em_hide], table[class=em_hide], span[class=em_hide], br[class=em_hide] { display: none !important; }
			img[class=em_full_img] { width: 100% !important; height: auto !important; max-width: 100% !important; }
			td[class=em_align_cent] { text-align: center !important; }
			td[class=fix_h] {	height: 25px !important;}
			}
			@media only screen and (max-width:480px) {*[class=showMobile] {display: block!important; height: auto!important; max-height: inherit!important; overflow: visible!important;}
			table[class=em_wrapper] { width: 100% !important; }
			td[class=em_aside] { padding-left: 10px !important; padding-right: 10px !important; }
			td[class=em_hide], table[class=em_hide], span[class=em_hide], br[class=em_hide] { display: none !important; }
			img[class=em_full_img] { width: 100% !important; height: auto !important; max-width: 100% !important; }
			td[class=em_align_cent] { text-align: center !important; }
			td[class=fix_h] {height: 25px !important;}
			}
		</style>
	</head>
	<body style="margin:0px; padding:0px;" bgcolor="#ffffff">
		<!--Full width table start-->
		<table width="100%" border="0" align="center" bgcolor="#ffffff"  cellpadding="0" cellspacing="0">
			<!--  header -->

			<tr>
				<td align="left" valign="middle" style="font-family: Corbel, Helvetica, Verdana, sans-serif; font-size: 1px; color: #ffffff; text-align: center; line-height:1px;"></td>
			</tr>
			<!-- main content  -->
			<tr>
				<td align="center" bgcolor="#f5f5f5" class="em_aside">
				<table width="100%" border="0" cellspacing="0" cellpadding="0" class="em_wrapper" align="center" bgcolor="#f5f5f5">
				<tr>
				<td bgcolor="#f5f5f5" align="center">
					<table width="600" border="0" cellspacing="0" cellpadding="0" class="em_wrapper">
<tr>
				 <td align="Center">
      <table align="center" style="display: block">
       <td width="6px" style="display: block">&nbsp;
       </td> 	
					  <td align="center">
						  <a href="http://click.mail.casper.com/?qs=741c1e11467330e25d70e8a9a3018dbdd2f9176cf85f5ddbfd5942c2f6bff64202c6fed23fc72b69fcc8e3aff5e15fbd4f2f4f751e2514f793baa243f97f7f6b"  target="_blank">
						  <img src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/HEADER_01.jpg" class="em_full_img" width="112" height="80" alt="Casper" style="display:block;" border="0" />
        </a>
					  </td>
					  <td class="em_hide" width="284">&nbsp;
					  </td>
						 <td class="showMobile" width="25">&nbsp;
						 </td>
						 <td align="center">
        <a href="http://click.mail.casper.com/?qs=741c1e11467330e296227a1df2bd0a1d62262a31e5e6baddbc92a7d1d56d067358d8b5bcd15560ca8e15efe1635ee9e3e2e68513fdf5d63e9d201910a3357eee"  target="_blank">
        <img src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/HEADER_02.jpg" class="em_full_img" style="display:block;"  width="64" alt="Casper" height="80" border="0" />
        </a>
					  </td>
						 <td align="center">
        <a href="http://click.mail.casper.com/?qs=741c1e11467330e2bfd8c64207fa942c5e25cba3dce9830033f932b55c12a0609f55738974bdf81adb02405223b378a4caf099e7d6360e903fe92208ea395e4d"  target="_blank">
        <img src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/HEADER_03.jpg" class="em_full_img" width="74" height="80" alt="Casper" style="display:block;" border="0" />
        </a>
       </td>
       <td align="center">
        <a href="http://click.mail.casper.com/?qs=741c1e11467330e2c23f0e1bfb9e5c32a1b93e3e205dd9e24ac7bece059355b8c3950244e18c8b96eb2a520d1a22b0e822dc6af931d2436974d64120747c44e3"  target="_blank">
        <img src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/HEADER_04.jpg" class="em_full_img" width="54" height="80" alt="Casper" style="display:block;" border="0" />
        </a>
       </td>
              <td width="6px" style="display: block">&nbsp;
       </td>
      </table>
					</td>
				</tr>
						<tr>
							<td>
								<table width="100%" bgcolor="#f5f5f5" border="0" align="center" cellpadding="0" cellspacing="0">
									<tr>
										<td align="center">
											<table width="100%" bgcolor="#ffffff" border="0" align="center" cellpadding="0" cellspacing="0">
																	<tr>
													<td colspan="2" bgcolor="#ffffff" align="center"><a href="http://click.mail.casper.com/?qs=741c1e11467330e26bf09173204aedf4dffef018ff8a6bdb88824ca970fbc695146696c98911df1b677d06b6b75bc37d4605b8bef5575592340eae41a0469498"  target="_blank" style="text-decoration:none;font-family:Arial, Helvetica, sans-serif;"><img class="em_full_img" src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/02_CasperLabs2017_DuvetKickstarter_Email_Animation_Header_1200x675_RGB_OPTION_01.gif" alt="DUVET" width="600" style="display:block; max-width:600px;color:#00237e" height="" border="0"></a></td>
												</tr>
												  <tr>
                                                    <td bgcolor="#ffffff" height="75">&nbsp;</td>
                                                </tr>
													<tr>
													<td colspan="2" align="center"><a href="http://click.mail.casper.com/?qs=741c1e11467330e26bf09173204aedf4dffef018ff8a6bdb88824ca970fbc695146696c98911df1b677d06b6b75bc37d4605b8bef5575592340eae41a0469498"  target="_blank" style="text-decoration:none;font-family:Arial, Helvetica, sans-serif;"><img class="em_full_img" src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/03_CasperLabs2017_DuvetKickstarter_EmailDesign.jpg" alt="CASPER LABS: CREATING A HUMIDITY-FIGHTING DUVET" width="600" height="" style="display:block; max-width:600px;color:#00237e" border="0"></a></td>
												</tr>
												 <tr>
                                                    <td bgcolor="#ffffff" height="37">&nbsp;</td>
                                                </tr>
												<tr>
             <td valign="top">
              <table width="100%" bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0">
               <tr>
                <td width="40" class="em_side">&nbsp;
                </td>
                <td align="center" class="em_link" style="font-family:Arial, sans-serif; font-size:16px; line-height:20px; color:#00237e;">After we launched our all-season duvet, a small group<br class="em_hide" />of engineers in our San Francisco lab wanted to dive further<br class="em_hide" /> into sleep climate research. Their year-long project brought<br class="em_hide" /> them to a breakthrough design...
                </td>
                <td width="40" class="em_side">&nbsp;
                </td>
               </tr>
              </table>
             </td>
            </tr>
              <tr>
                                                    <td height="75" bgcolor="#ffffff">&nbsp;</td>
                                                </tr>
												<tr>
													<td colspan="2" align="center"><a href="http://click.mail.casper.com/?qs=741c1e11467330e26bf09173204aedf4dffef018ff8a6bdb88824ca970fbc695146696c98911df1b677d06b6b75bc37d4605b8bef5575592340eae41a0469498"  target="_blank" style="text-decoration:none;font-family:Arial, Helvetica, sans-serif;"><img class="em_full_img" src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/04_CasperLabs2017_DuvetKickstarter_EmailDesign.jpg" alt="KEEP YOUR COOL Combine your mattress with our breathable sheets and pillow for a perfectly cool sleep environment." width="600" height="" style="display:block; max-width:600px;color:#00237e" border="0"></a></td>
												</tr> <tr>
                                                    <td bgcolor="#ffffff" height="25">&nbsp;</td>
                                                </tr>
                     <tr>
             <td valign="top">
              <table width="100%" bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0">
               <tr>
                <td width="40" class="em_side">&nbsp;
                </td>
                <td align="center" class="em_link" style="font-family:Arial, sans-serif; font-size:16px; line-height:20px; color:#00237e;">People say they sleep hot &mdash; but our design lab <br class="em_hide" />discovered the real culprit is humidity.
                </td>
                <td width="40" class="em_side">&nbsp;
                </td>
               </tr>
              </table>
             </td>
            </tr> <tr>
                                                    <td bgcolor="#ffffff" height="25">&nbsp;</td>
                                                </tr>
																						<tr>
													<td colspan="2" align="center"><a href="http://click.mail.casper.com/?qs=741c1e11467330e26bf09173204aedf4dffef018ff8a6bdb88824ca970fbc695146696c98911df1b677d06b6b75bc37d4605b8bef5575592340eae41a0469498"  target="_blank" style="text-decoration:none;font-family:Arial, Helvetica, sans-serif;"><img class="em_full_img" src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/05_CasperLabs2017_DuvetKickstarter_Email_Animation01_1200x675.gif" alt="DUVET" width="600" height="" style="display:block; max-width:600px;color:#00237e" border="0"></a></td>
												</tr>
												<tr>
                                                    <td bgcolor="#ffffff" height="12">&nbsp;</td>
                                                </tr>
                     <tr>
<tr>
		<td colspan="2" align="center"><a href="http://click.mail.casper.com/?qs=741c1e11467330e26bf09173204aedf4dffef018ff8a6bdb88824ca970fbc695146696c98911df1b677d06b6b75bc37d4605b8bef5575592340eae41a0469498"  target="_blank" style="text-decoration:none;font-family:Arial, Helvetica, sans-serif;"><img class="em_full_img" src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/06_CasperLabs2017_DuvetKickstarter_EmailDesign_12.jpg" alt="HOW CASPER LABS SOLVED IT" width="600" height="" style="display:block; max-width:600px;color:#00237e" border="0"></a></td>
												</tr> <tr>
                                                    <td bgcolor="#ffffff" height="25">&nbsp;</td>
                                                </tr>
                     <tr>
             <td valign="top">
              <table width="100%" border="0" bgcolor="#ffffff" cellspacing="0" cellpadding="0">
               <tr>
                <td width="40" class="em_side">&nbsp;
                </td>
                <td align="center" class="em_link" style="font-family:Arial, sans-serif; font-size:16px; line-height:20px; color:#00237e;">By pairing moisture-wicking Merino wool and insulating down,<br class="em_hide" /> our patent-pending Humidity Fighting Duvet keeps<br class="em_hide" /> you cozy, never clammy.
                </td>
                <td width="40" class="em_side">&nbsp;
                </td>
               </tr>
              </table>
             </td>
            </tr>
                   <tr>
                                                    <td bgcolor="#ffffff" height="25">&nbsp;</td>
                                                </tr>
            						<tr>
													<td colspan="2" align="center"><a href="http://click.mail.casper.com/?qs=741c1e11467330e26bf09173204aedf4dffef018ff8a6bdb88824ca970fbc695146696c98911df1b677d06b6b75bc37d4605b8bef5575592340eae41a0469498"  target="_blank" style="text-decoration:none;font-family:Arial, Helvetica, sans-serif;"><img class="em_full_img" src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/07_CasperLabs2017_DuvetKickstarter_Email_Animation02_1200x675.gif" alt="DUVET" width="600" height="" style="display:block; max-width:600px;color:#00237e" border="0"></a></td>
												</tr>
												 <tr>
                                                    <td bgcolor="#ffffff" height="37">&nbsp;</td>
                                                </tr>
												<tr>
		<td colspan="2" align="center"><a href="http://click.mail.casper.com/?qs=741c1e11467330e26bf09173204aedf4dffef018ff8a6bdb88824ca970fbc695146696c98911df1b677d06b6b75bc37d4605b8bef5575592340eae41a0469498"  target="_blank" style="text-decoration:none;font-family:Arial, Helvetica, sans-serif;"><img class="em_full_img" src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/08_CasperLabs2017_DuvetKickstarter_EmailDesign_16.jpg" alt="START SLEEPING COOLER" width="600" height="" style="display:block; max-width:600px;color:#00237e" border="0"></a></td>
												</tr>  <tr>
                                                    <td bgcolor="#ffffff" height="26">&nbsp;</td>
                                                </tr>
                     <tr>
             <td valign="top">
              <table width="100%" bgcolor="#ffffff" border="0" cellspacing="0" cellpadding="0">
               <tr>
                <td width="40" class="em_side">&nbsp;
                </td>
                <td align="center" class="em_link" style="font-family:Arial, sans-serif; font-size:16px; line-height:20px; color:#00237e;">The engineers behind this project are launching<br class="em_hide" /> it first on Kickstarter.
                </td>
                <td width="40" class="em_side">&nbsp;
                </td>
               </tr>
              </table>
             </td>
            </tr>
               <tr>
                                                    <td height="75" bgcolor="#ffffff">&nbsp;</td>
                                                </tr>
            		<tr>
													<td colspan="2" align="center"><a href="http://click.mail.casper.com/?qs=741c1e11467330e26bf09173204aedf4dffef018ff8a6bdb88824ca970fbc695146696c98911df1b677d06b6b75bc37d4605b8bef5575592340eae41a0469498"  target="_blank" style="text-decoration:none;font-family:Arial, Helvetica, sans-serif;"><img class="em_full_img" src="http://image.mail.casper.com/lib/fe951372746d067d70/m/1/09_CasperLabs2017_DuvetKickstarter_EmailDesign_18.jpg" alt="LEARN MORE" width="600" height="" style="display:block; max-width:600px;color:#00237e" border="0"></a></td>
												</tr>
												 <tr>
                                                    <td height="75" bgcolor="#ffffff">&nbsp;</td>
                                                </tr>
           </table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td height="20"  style="line-height:0px; font-size:0px;">&nbsp;</td>
						</tr>
				
						<tr>
							<td height="58"  style="line-height:0px; font-size:0px;">&nbsp;</td>
						</tr>
						<tr>
					<td style="font-family:Arial, Helvetica, sans-serif;font-size:13px;letter-spacing:.08em; color:#999999;" align="center" > <a href="mailto:support@casper.com" style=" color:#999999; text-decoration:none;"> support@casper.com </a> | <a href="tel:888-995-2507" style=" color:#999999; text-decoration:none;"> +1 888-995-2507 </a> </td>
				</tr>
				<tr>
					<td height="24"  style="line-height:0px; font-size:0px;">&nbsp; </td>
				</tr>
				<tr>
					<td align="center">
						<table width="153" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td width="11"> <a href="http://click.mail.casper.com/?qs=741c1e11467330e2d54966b668e0b7461e6396c1a2aeeb5dbe3159f58591d2ca15cc7c4058b66be69e3d14927ce654b18143365eec9d041f" target="_blank"> <img src="http://wac.659b.edgecastcdn.net/00659B/casper/general/ico-instagram.png" width="20" height="21" alt="Instagram" style="display:block;max-width:20px;" border="0" /> </a> </td>
								<td width="28">&nbsp; </td>
								<td width="22"> <a href="http://click.mail.casper.com/?qs=741c1e11467330e2c8d6c974b8b4d9197f3e2138bee4cbbc50e73d30045aa709f4f7ff4cee0b2776f4d519250302b81741cf3a3794ed70c6" target="_blank"> <img src="http://wac.659b.edgecastcdn.net/00659B/casper/general/ico-pinterest.png" width="22" height="21" alt="Pinterest" style="display:block;max-width:22px;" border="0" /> </a> </td>
								<td width="28">&nbsp; </td>
								<td width="25"> <a href="http://click.mail.casper.com/?qs=741c1e11467330e22e4b5277950095625ce3f466e833beb0db052c848611adde7c7b8c76673e97ad87236ea5eefe16ad0a99b81616d87b4d" target="_blank"> <img src="http://wac.659b.edgecastcdn.net/00659B/casper/general/ico-twitter.png" width="25" height="21" alt="Twitter" style="display:block;max-width:25px;" border="0" /> </a> </td>
								<td width="28">&nbsp; </td>
								<td width="11"> <a href="http://click.mail.casper.com/?qs=741c1e11467330e2d21f4e676c646a7c858dee332585d75bd0e7cd099a1292a52b11cdb13d41b7a50c86ae551c512d330324e26be45f4b15" target="_blank"> <img src="http://wac.659b.edgecastcdn.net/00659B/casper/general/ico-facebook.png" width="11" height="21" alt="Facebook" style="display:block;max-width:11px;" border="0" /> </a> </td>
							</tr>
						</table>
					</td>
				</tr>
						<tr>
							<td height="58"  style="line-height:0px; font-size:0px;">&nbsp;</td>
						</tr>
					</table>
     </td>
   </tr>
  </table>
				</td>
			</tr>
			<!-- footer -->
			<tr>
				<td width="600" align="center">
					<table width="600" align="center" border="0" cellspacing="0" cellpadding="0" class="em_wrapper">
						<tr>
							<td height="10"  style="line-height:0px; font-size:0px;">&nbsp;</td>
						</tr>
						<tr>
							<td width="600" style="color:#b2b2b2;font-family:Arial, Helvetica, sans-serif;font-size:10px;" align="center" >
								230 Park Avenue South, 13th Fl New York, NY, 10003 | &copy; 2017 Casper Inc.<br />
						If you prefer not to receive emails, you may <a href="#" style="color:#b2b2b2; text-decoration:underline;"> unsubscribe </a>
							</td>
						</tr>
						<tr>
							<td height="10"  style="line-height:0px; font-size:0px;">&nbsp;</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<div style="display:none; white-space:nowrap; font:20px courier; background-color:#ffffff; color:#ffffff;">
	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</div>
		<div style="display:none"></div>
	</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