Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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

              
                <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml">

<head>
	<!--[if gte mso 9]>
	<xml>
	<o:OfficeDocumentSettings>
	<o:AllowPNG/>
	<o:PixelsPerInch>96</o:PixelsPerInch>
	</o:OfficeDocumentSettings>
	</xml>
	<![endif]-->
	<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
	<meta content="width=device-width,initial-scale=1" name="viewport" />
	<meta content="IE=Edge" http-equiv="X-UA-Compatible" />
	<meta name="x-apple-disable-message-reformatting" />
	<title>TJML start pack</title>
	<style type="text/css">
	html {
		-webkit-text-size-adjust: none;
		-ms-text-size-adjust: none
	}
	
	.only_mob {
		display: none!important
	}
	
	@media only screen and (max-device-width:600px),
	only screen and (max-width:600px) {
		.mob_100 {
			width: 100%!important;
			max-width: 100%!important
		}
		.mob_full {
			width: auto!important;
			display: block!important;
			padding: 0 10px!important
		}
		.mob_center {
			text-align: center!important
		}
		.mob_center_bl {
			margin-left: auto;
			margin-right: auto
		}
		.mob_hidden {
			display: none!important
		}
		.only_mob {
			display: block!important
		}
	}
	
	@media only screen and (max-width:600px) {
		.mob_100 {
			width: 100%!important;
			max-width: 100%!important
		}
		.mob_100 img,
		.mob_100 table {
			max-width: 100%!important
		}
		.mob_full {
			width: auto!important;
			display: block!important;
			padding: 0 10px!important
		}
		.mob_center {
			text-align: center!important
		}
		.mob_center_bl {
			margin-left: auto;
			margin-right: auto
		}
		.mob_hidden {
			display: none!important
		}
		.only_mob {
			display: block!important
		}
	}
	
	.creative {
		width: 100%!important;
		max-width: 100%!important
	}
	
	.mail_preheader {
		display: none!important
	}
	</style>
	<!--[if (gte mso 9)|(IE)]>
	<style type="text/css">table {border-collapse: collapse !important;}.outf14{font-size:14px !important;}    .w536px{ width: 536px !important;} .w600px{ width: 600px !important;} .not_for_outlook, .not_for_outlook table,.only_mob, .only_mob table{mso-hide: all !important;display: none !important;font-size:0;max-height:0;line-height: 0;mso-hide: all;}.outpadding{padding-left: 0 !important;padding-right: 0 !important;}</style>
	<![endif]-->
</head>

<body class="body" style="padding:0;margin:0"><img alt="" height="1" src="https://ampier.ru/tr/?t=view&amp;ea=html&amp;cn=bv&amp;cid={{email_hash}}" width="1" />
	<div class="full-wrap">
		<table border="0" cellpadding="0" cellspacing="0" class="full-wrap" width="100%">
			<tbody>
				<tr>
					<td align="center" bgcolor="#E4E4E4" style="line-height: normal; hyphens: none;">
						<div>
							<!--[if (gte mso 9)|(IE)]>
	<table width="600" border="0" cellspacing="0" cellpadding="0" style="width: 600px;">
	<tr><td>
	<![endif]-->
							<table border="0" cellpadding="0" cellspacing="0" style="max-width: 600px;" width="100%">
								<tbody>
									<tr>
										<td align="center" bgcolor="#0062AD">
											<div>
												<div>
													<!--[if (gte mso 9)|(IE)]>
				<table width="566" border="0" cellspacing="0" cellpadding="0" style="width: 566px;">
				<tr><td>
				<![endif]-->
													<table border="0" cellpadding="0" cellspacing="0" style="max-width: 566px;" width="100%">
														<tbody>
															<tr>
																<td align="left" style="padding: 25px 15px;">
																	<div>
																		<div>
																			<table border="0" cellpadding="0" cellspacing="0" width="100%">
																				<tbody>
																					<tr>
																						<td align="center">
																							<div>
																								<a href="https://mailganer.com/ru/" style="font-family: Helvetica, Arial, sans-serif; font-size: 16px; color: #ffffff;" target="_blank"><img alt="mailganer" src="https://cdn.mailganer.com/mailing-template/2/170375632239/img/logo.png" style="display: block; border-width: 0px; border-style: solid; width: 124px; height: 20px;" /></a>
																							</div>
																						</td>
																					</tr>
																				</tbody>
																			</table>
																		</div>
																		<div style="height: 40px; line-height: 40px; font-size: 38px;">&nbsp;</div>
																		<div><span style="font-family: Helvetica, Arial, sans-serif; font-size: 24px; color: #ffffff;"><a href="{{webversion}}" target="_blank"><img alt="С НАСТУПАЮЩИМ НОВЫМ ГОДОМ!" class="w536px" src="https://cdn.mailganer.com/mailing-template/2/170375632239/img/happy_new_year.png" style="display: block; max-width: 536px; width: 100%; border-width: 0px; border-style: solid;" /></a></span></div>
																		<div style="height: 13px; line-height: 13px; font-size: 11px;">&nbsp;</div>
																		<div>
																			<div style="line-height: normal;"><span style="font-family: Helvetica, Arial, sans-serif; font-size: 16px; color: #ffffff;">Это интерактивное AMP-письмо, полное пожеланий.<br />
									В&nbsp;вашей почте пока нельзя открыть наше AMP-письмо, но&nbsp;есть и&nbsp;хорошая новость — всё работает в&nbsp;веб-версии!<br />
									<br />
									Перейдите в&nbsp;неё, чтобы началась магия. </span></div>
																			<div style="height: 30px; line-height: 30px; font-size: 28px;">&nbsp;</div>
																			<div>
																				<table border="0" cellpadding="0" cellspacing="0" width="100%">
																					<tbody>
																						<tr>
																							<td align="center">
																								<div>
																									<div>
																										<!--[if mso]>
											<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="#" style="height:35px;v-text-anchor:middle;width:200px;" arcsize="11%" stroke="f" fillcolor="#ffffff">
											<w:anchorlock></w:anchorlock>
											<center style="color: #0062ad; font-size: 16px; font-weight: bold; font-family: Helvetica, Arial, sans-serif;">Открыть веб-версию</center>
											</v:roundrect>
											<![endif]--><a href="{{webversion}}" style="background-color:#ffffff;font-size:16px;font-weight:bold;line-height:35px;width:200px;color:#0062AD;border-radius:4px;display:inline-block;font-family:Helvetica, Arial, sans-serif;text-align:center;text-decoration:none;-webkit-text-size-adjust:none;box-sizing:border-box;mso-hide:all" target="_blank">Открыть веб-версию</a></div>
																								</div>
																							</td>
																						</tr>
																					</tbody>
																				</table>
																			</div>
																		</div>
																	</div>
																</td>
															</tr>
														</tbody>
													</table>
													<!--[if (gte mso 9)|(IE)]>
				</td></tr>
				</table>
				<![endif]-->
												</div>
												<div>
													<div>
														<a href="{{webversion}}" target="_blank"><img alt="" class="w600px" src="https://cdn.mailganer.com/mailing-template/2/170375632239/img/tree.png" style="display: block; max-width: 600px; width: 100%; border-width: 0px; border-style: solid;" /></a>
													</div>
												</div>
												<div>
													<table border="0" cellpadding="0" cellspacing="0" width="100%">
														<tbody>
															<tr>
																<td align="center" bgcolor="#ffffff" style="padding: 35px 15px;">
																	<div>
																		<div>
																			<!--[if (gte mso 9)|(IE)]>
							<table width="500" border="0" cellspacing="0" cellpadding="0" style="width: 500px;">
							<tr><td>
							<![endif]-->
																			<table border="0" cellpadding="0" cellspacing="0" style="max-width: 500px;" width="100%">
																				<tbody>
																					<tr>
																						<td align="center">
																							<div>
																								<div>
																									<table border="0" cellpadding="0" cellspacing="0" width="100%">
																										<tbody>
																											<tr>
																												<td style="border-top: 1px solid #f2eeeb;">
																													<div style="height: 10px; line-height: 10px; font-size: 8px;">&nbsp;</div>
																												</td>
																											</tr>
																										</tbody>
																									</table>
																								</div>
																								<div style="height: 10px; line-height: 10px; font-size: 8px;">&nbsp;</div>
																								<div>
																									<!--[if (gte mso 9)|(IE)]>
										<table width="340" border="0" cellspacing="0" cellpadding="0" style="width: 340px;">
										<tr><td>
										<![endif]-->
																									<table border="0" cellpadding="0" cellspacing="0" style="max-width: 340px;" width="100%">
																										<tbody>
																											<tr>
																												<td align="center">
																													<div>
																														<div style="line-height: normal;"><span style="font-family: Helvetica, Arial, sans-serif; font-size: 10px; color: #0062ad;">Вы получили это письмо, потому что подписаны на&nbsp;рассылку <a href="https://mailganer.com/ru/" style="color: #0062ad; text-decoration: underline;" target="_blank">Mailganer</a> и&nbsp;мы хотим поздравить вас с&nbsp;наступающим Новым годом! Вы всегда можете <a href="{{unsubscribeUrl}}" style="color: #0062ad; text-decoration: underline;" target="_blank">отписаться</a> или открыть <a href="{{webversion}}" style="color: #0062ad; text-decoration: underline;" target="_blank">веб-версию</a>, чтобы поделиться этой рассылкой.</span></div>
																													</div>
																												</td>
																											</tr>
																										</tbody>
																									</table>
																									<!--[if (gte mso 9)|(IE)]>
										</td></tr>
										</table>
										<![endif]-->
																								</div>
																							</div>
																						</td>
																					</tr>
																				</tbody>
																			</table>
																			<!--[if (gte mso 9)|(IE)]>
							</td></tr>
							</table>
							<![endif]-->
																		</div>
																	</div>
																</td>
															</tr>
														</tbody>
													</table>
												</div>
											</div>
										</td>
									</tr>
								</tbody>
							</table>
							<!--[if (gte mso 9)|(IE)]>
	</td></tr>
	</table>
	<![endif]-->
						</div>
					</td>
				</tr>
			</tbody>
		</table>
	</div>
</body>

</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console