cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

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.

            
              
<!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>
	<title>Blue Apron</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<style type="text/css">
		* {
			-ms-text-size-adjust:100%;
			-webkit-text-size-adjust:none;
			-webkit-text-resize:100%;
			text-resize:100%;
		}
		.btn:hover, .btn-01:hover{opacity:0.8;}
		.btn, .btn-01{
			-webkit-transition:all 0.3s ease;
			-moz-transition:all 0.3s ease;
			-ms-transition:all 0.3s ease;
			transition:all 0.3s ease;
		}
		a{outline:none;}
		.footer a{
			color:#585757;
			text-decoration:none;
		}
		a:hover{text-decoration:none !important;}
		table td {border-collapse: collapse !important;}
		.ExternalClass, .ExternalClass a, .ExternalClass span, .ExternalClass b, .ExternalClass br, .ExternalClass p, .ExternalClass div{line-height:inherit;}
		@media only screen and (max-width:500px) {
			table[class="wrapper"]{min-width:320px !important;}
			table[class="flexible"]{width:100% !important;}
			td[class="hide"],
			td[class="hide"] img,
			span[class="hide"],
			br[class="hide"],
			td[class="fix-gmail"]{
				display:none !important;
				width:0 !important;
				height:0 !important;
				padding:0 !important;
				font-size:0 !important;
				line-height:0 !important;
			}
			td[class="crop-left"] div{
				position:relative;
				overflow:hidden;
				width:100%;
				height:3px;
			}
			td[class="crop-left"] img{
				position:absolute;
				top:0;
				right:0;
			}
			td[class="img-flex"] img{
				width:100% !important;
				height:auto !important;
			}
			td[class="aligncenter"]{text-align:center !important;}
			td[class="holder-01"]{padding:24px 0 !important;}
			td[class="holder-02"]{padding:0 15px !important;}
			table[class="center"]{
				width:auto !important;
				margin:0 auto !important;
			}
			td[class="w-20"]{width:20px !important;}
				/* custom style */
				td[class~="img-mobile"]{display:table-cell !important;}
				td[class~="img-mobile"] img{
					display:block !important;
					width:100% !important;
					height:auto !important;
				}
				td[class~="h-auto"]{height:auto !important;}
				td[class="footer"]{padding:5px !important;}	
				/* default style */
				table[class="flexible"]{width:100% !important;}
				table[class="table-center"]{float:none !important; margin:0 auto !important;}
				th[class="flex"]{display:block !important; width:100% !important;}
				*[class~="hide"]{display:none !important; width:0 !important; height:0 !important; padding:0 !important; font-size:0 !important; line-height:0 !important;}				
						
		}
	</style>

</head>
	<body style="margin:0; padding: 0; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%;" bgcolor="#ffffff"><!--[if gte mso 12]>
	<style>
		.btn{padding:10px 10px !important;}
		.btn-01{padding:4px 10px 7px !important;}
		.btn a, .btn-01 a{padding:0 !important;}
	</style>
<![endif]-->
		<table style="min-width:320px;" width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
      <tr>
		<td>
			<table class="flexible" width="600" style="margin:0 auto;" align="center" cellpadding="0" cellspacing="0">
				<tr>
					<td class="fix-gmail">
						<table width="600" cellpadding="0" cellspacing="0" style="width:600px !important;">
							<tr>
								<td style="min-width:600px; font-size:0; line-height:0;">&nbsp;</td>
							</tr>
						</table>
					</td>
				</tr>
				
				<tr>
					<td bgcolor="#ffffff">
						<table width="100%" cellpadding="0" cellspacing="0">
                        
                        <!-- Pre-Header -->
           
           <tr>
                             <tbody><tr>
                                   <td align="center" style="padding: 0;">
                                       <div style="display:none;font-size:1px;color:#333333;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">&#9888;&#65039;Offer expires at midnight--don't miss out on delicious dinners!</div>
                                   </td>
                                 </tr>
                            </tbody>
            <!-- END Pre-Header -->
	        <!-- Header -->

							<table width="100%" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td class="pb-9" style="padding-bottom:9px">
										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td style="border-bottom: 1px solid #e8e8e8;">
													<table width="100%" border="0" cellspacing="0" cellpadding="0">
														<tr>
															<td class="header" style="padding:25px 25px 21px 25px">
																<table width="100%" border="0" cellspacing="0" cellpadding="0">
																	<tr>
																		<td class="img-logo" style="font-size:0pt; line-height:0pt; text-align:center"><a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSUWY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank"><img class="text-alt" style="color:#003a6e; font-family:Helvetica, Arial, sans-serif; font-size:15px; line-height:19px; text-align:center; letter-spacing:1px" src="http://media.blueapron.com/marketing/android/logo_1.png" border="0" width="95" height="44" alt="Blue Apron" /></a></td>
																		<td class="content-spacing-20" width="1"></td>
																		<td align="right">
																			<!--[if !mso]><!-->
																			<div class="hide-for-desktop" style="font-size:0pt; line-height:0pt; display:none; max-height:0; max-width:0; visibility:hidden; opacity:0; mso-hide:all; overflow:hidden; width:0; height:0">
																				<table border="0" cellspacing="0" cellpadding="0">
																					<tr>
																						<td class="pt-12" style="padding-top:12px">
																							
																						</td>
																						<td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="15"></td>
																						<td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="1" bgcolor="#313567"></td>
																						<td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="15"></td>
																						<td class="img-iphone" style="font-size:0pt; line-height:0pt; text-align:left" width="17"><a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSUAY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank"><img class="text-alt" style="color:#003a6e; font-family:Helvetica, Arial, sans-serif; font-size:15px; line-height:19px; text-align:center; letter-spacing:1px" src="https://static.cdn.responsys.net/i5/responsysimages/blueapron/contentlibrary/2017/weeklyacquisition/ico_iphone_1.png" border="0" width="17" height="31" alt="iPhone" /></a></td>
																					</tr>
																				</table>
																			</div>
																			<!--<![endif]-->
																		</td>
																	</tr>
																</table>
															</td>
														</tr>
													</table>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>

							
							

							<!-- END Header -->
                 													
 
                   
 <!-- Block 01 -->
						<!-- desktop  -->                                           
					<table class="flexible" width="600" align="center" style="margin:0 auto;" cellpadding="0" cellspacing="0">                          
				
                
                        <tr>
                    
							<td align="center" class="hide" bgcolor="#bfb1a8">
								<a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSWRY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank" style="color:#313567; text-decoration:none;"><img src="https://s3.amazonaws.com/media.blueapron.com/email_marketing/Acquisition/OneOff/CYBERMON/20171122_ACQ_Desktop_FNL_02.gif" style="vertical-align:top; font:20px/24px Georgia, Times New Roman, Times, serif; color:#313567;" width="600" alt="Because those leftovers won't last long" /></a>
							</td>
						</tr>
						<!-- mobile  -->                        
						<tr>
							<td class="img-mobile" style="font-size:0; line-height:0; display:none;" bgcolor="#f3ece7">
								<a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSWRY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank" style="color:#313567; text-decoration:none;"><img src="https://s3.amazonaws.com/media.blueapron.com/email_marketing/Acquisition/OneOff/CYBERMON/20171122_ACQ_Email_Leftover_Mobile_FNL_02.gif" style="vertical-align:top; font:0px/0px Georgia, Times New Roman, Times, serif; color:#313567;" width="0" height="0" alt="Because those leftovers won't last long" /></a>
							</td>
						</tr>                                              
                   </table>


<!-- Block 02 --><!-- desktop  -->                                           
					<table class="flexible" width="600" align="center" style="margin:0 auto;" cellpadding="0" cellspacing="0">                          
				
                
                        <tr>
                    
							<td align="center" class="hide" bgcolor="#bfb1a8">
								<a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSWRY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank" style="color:#313567; text-decoration:none;"><img src="https://s3.amazonaws.com/media.blueapron.com/email_marketing/Acquisition/OneOff/CYBERMON/20171122_ACQ_Desktop_FNL_03.jpg" style="vertical-align:top; font:20px/24px Georgia, Times New Roman, Times, serif; color:#313567;" width="600" alt="Get $50 Off*" /></a>
							</td>
						</tr>
						<!-- mobile  -->                        
						<tr>
							<td class="img-mobile" style="font-size:0; line-height:0; display:none;" bgcolor="#f3ece7">
								<a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSWRY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank" style="color:#313567; text-decoration:none;"><img src="https://s3.amazonaws.com/media.blueapron.com/email_marketing/Acquisition/OneOff/CYBERMON/20171122_ACQ_Email_Leftover_Mobile_FNL_03.jpg" style="vertical-align:top; font:0px/0px Georgia, Times New Roman, Times, serif; color:#313567;" width="0" height="0" alt="Get $50 Off*" /></a>
							</td>
						</tr>                                              
                   </table>







       
   

                             
     <!-- Footer -->

	<table width="100%" border="0" cellspacing="0" cellpadding="0">
	<tr>
	<td>
										
                                        
                 <!-- Socials -->
										<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#0f346c">
											<tr>
												<td align="center" class="ptb-10" style="padding:10px 0">
													<table border="0" cellspacing="0" cellpadding="0">
														<tr>
															<th class="column-top" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal; vertical-align:top; Margin:0" width="247">
																<table border="0" cellspacing="0" cellpadding="0" class="center">
																	<tr>
																		<td>
																			<div class="text-footer" style="color:#d0d3d4; font-family:Helvetica, Arial, sans-serif; font-size:14px; line-height:18px; text-align:center; letter-spacing:1px">
																				Follow us
																			</div>
																		</td>
																		<td class="content-spacing" style="font-size:0pt; line-height:0pt; text-align:left" width="25"></td>
																		<td class="img-twitter" style="font-size:0pt; line-height:0pt; text-align:left" width="21"><a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSWTY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank"><img class="text-alt-1" src="http://media.blueapron.com/marketing/android/ico_twitter.png" border="0" width="21" height="17" alt="Twitter" /></a></td>
																		<td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="25"></td>
																		<td class="img-facebook" style="font-size:0pt; line-height:0pt; text-align:left" width="17"><a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSWWY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank"><img class="text-alt-1" src="http://media.blueapron.com/marketing/android/ico_facebook.png" border="0" width="17" height="17" alt="Facebook" /></a></td>
																		<td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="25"></td>
																		<td class="img-instagram" style="font-size:0pt; line-height:0pt; text-align:left" width="17"><a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSWAY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank"><img class="text-alt-1" src="http://media.blueapron.com/marketing/android//ico_instagram.png" border="0" width="17" height="17" alt="Instagram" /></a></td>
																		<td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="25"></td>
																		<td class="img-pinterest" style="font-size:0pt; line-height:0pt; text-align:left" width="18"><a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSWCY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank"><img class="text-alt-1" src="http://media.blueapron.com/marketing/android/ico_pinterest.png" border="0" width="18" height="17" alt="Pinterest" /></a></td>
																	</tr>
																</table>
															</th>
															<th class="column-top" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal; vertical-align:top; Margin:0" width="35">
																<!--[if !mso]><!-->
																<div class="hide-for-desktop" style="font-size:0pt; line-height:0pt; display:none; max-height:0; max-width:0; visibility:hidden; opacity:0; mso-hide:all; overflow:hidden; width:0; height:0">
																	<div style="font-size:0pt; line-height:0pt;" class="mobile-br-15"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#6d82a2" class="border" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%"><tr><td bgcolor="#6d82a2" height="1" class="border" style="font-size:0pt; line-height:0pt; text-align:center; width:100%; min-width:100%">&nbsp;</td></tr></table>
<div style="font-size:0pt; line-height:0pt;" class="mobile-br-15"></div>

																</div>
																<!--<![endif]-->
															</th>
															<th class="column-top" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal; vertical-align:top; Margin:0">
																<table border="0" cellspacing="0" cellpadding="0" class="center">
																	<tr>
																		<td class="mobile-text-width">
																			<div class="text-footer" style="color:#d0d3d4; font-family:Helvetica, Arial, sans-serif; font-size:14px; line-height:18px; text-align:center; letter-spacing:1px">
																				Download the App
																			</div>
																		</td>
																		<td class="content-spacing" style="font-size:0pt; line-height:0pt; text-align:left" width="25"></td>
																		<td class="img-google" style="font-size:0pt; line-height:0pt; text-align:left" width="17"><a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSYRY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank"><img class="text-alt-1" src="http://media.blueapron.com/marketing/android/ico_google.png" border="0" width="16" height="20" alt="Twitter" /></a></td>
																		<td class="img" style="font-size:0pt; line-height:0pt; text-align:left" width="25"></td>
																		<td class="img-apple" style="font-size:0pt; line-height:0pt; text-align:left" width="17"><a href="https://e.blueapron.com/pub/cc?_ri_=X0Gzc2X%3DYQpglLjHJlYQGrcwASzezdSzeezgqzcjYTn4n5zczb8zaNfMbyGliu9SzglMON7p3zbBtvfyhzfVXtpKX%3DYBSUCY&_ei_=EqZBJva7zsb3Nm7fMM2iOYDW4Z5OQUY." target="_blank"><img class="text-alt-1" src="http://media.blueapron.com/marketing/android/ico_apple.png" border="0" width="17" height="20" alt="Facebook" /></a></td>
																	</tr>
																</table>
															</th>
														</tr>
													</table>
												</td>
											</tr>
										</table>
										

                                        <!-- END Socials -->

										<table width="100%" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td class="footer" style="padding:15px">
													<div class="text-footer-1" style="color:#585757; font-family:Helvetica, Arial, sans-serif; font-size:10px; line-height:23px; text-align:center">*Offer valid for new customers only. Cannot be combined with any other offer.<br>
														Blue Apron, LLC, 40 W 23rd Street, New York, NY 10010 <br />
														<a href="#" target="_blank" class="link-1-u" style="color:#585757; text-decoration:underline"><span class="link-1-u" style="color:#585757; text-decoration:underline">View in browser</span></a><span class="mobile-block"><span class="hide-for-mobile">&nbsp;&nbsp;|&nbsp;&nbsp;</span></span><a href="#" target="_blank" class="link-1-u" style="color:#585757; text-decoration:underline"><span class="link-1-u" style="color:#585757; text-decoration:underline">Unsubscribe or Manage Preferences</span></a>
													</div>
												</td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
                            
<!--End Footer-->
			
	
	   
</td>

					</tr>

				</table>

			</td>

		</tr>

	</table>

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