Pen Settings

HTML

CSS

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

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

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.

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 XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

<head>
	<title>Interactive Hide/Show Framework</title>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<!-- External CSS for any custom fonts can go here -->
	<link rel="stylesheet" type="text/css" href="fonts-dinnoto/dinnoto.css">
	<style type="text/css">
		* { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; max-height:1000000px;}
		table {border-collapse: collapse!important;}
		th {margin:0!important; padding:0!important; vertical-align: top; font-weight: normal; }
		#outlook a {padding:0;}
		#backgroundTable {margin:0; padding:0; width:100%; line-height: 100%}
		.ReadMsgBody { width: 100%; }
		.ExternalClass { width: 100%; }
		.ExternalClass * { line-height: 100%; }
		
		/* start RESPONSIVE STYLES */
		@media only screen and (max-width: 600px) { 
			.hide{ display:none !important; display:none;}
		}
		/* end RESPONSIVE STYLES */
		
		/* start PROGRESSIVE ENHANCEMENT STYLES */
		.link-nav:hover { color: #2b3139!important; }
		/* end PROGRESSIVE ENHANCEMENT STYLES */
	</style>
	<!-- External CSS for Interactive Version - 
Placed below Embedded Header Styles so that these will override in the cascade -->
	<link rel="stylesheet" type="text/css" href="http://alicemeichi.com/work/litmuslive2018/images/hideshow.css">
</head>

<body class="body" style="padding:0; margin:0; text-align:center; background-color: #ffffff;">
	<!-- start BLACK-MAIN-SECTION -->
	<TABLE role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
		<TR>
			<TD width="100%" valign="top" align="center" bgcolor="#000000">
			
			
				<!-- start DEFAULT_CONTENT -->
				<TABLE role="presentation" border="0" cellpadding="0" cellspacing="0" width="600" style="width:600px;">
					<TR>
						<TD align="center" valign="middle" style="font-family:'DinNext', Arial, Helvetica, sans-serif; color:#999999; font-size: 20px; line-height: 30px;">
							<A HREF="#" style="display:block; color:#999999; text-decoration:none;">
								This is for content that stays the same on either version.
							</A>
						</TD>
					</TR>
				</TABLE>
				<!-- end DEFAULT_CONTENT -->
				
				
				<!-- start INTERACTIVE_SECTION -->
				<!--[if (!mso)&(gte IE 10)]> <! -- -->
				<DIV id="interactive" style="display:none; max-height:0; line-height:0; font-size:0; mso-hide:all;">
					<TABLE role="presentation" cellpadding="0" cellspacing="0" border="0" width="600">
						<TR>
							<TD bgcolor="#666666" valign="middle" align="center">
								<DIV class="content">
									This is where the Interactive Content goes.<BR>
									(This area supports robust CSS3. Feel free to<BR>
									experiment with CSS-only web layouts here!)
								</DIV>
							</TD>
						</TR>
					</TABLE>
				</DIV>
				<!--<![endif]-->
				<!-- end INTERACTIVE_SECTION -->
				
				
				<!-- start FALLBACK_SECTION -->
				<DIV id="staticfallback">
					<TABLE role="presentation" cellpadding="0" cellspacing="0" border="0" width="600" style="width:600px;">
						<TR>
							<TD bgcolor="#444444" valign="middle" align="center" style="font-family:'DinNext', Arial, Helvetica, sans-serif; color:#ffffff; font-size: 20px; line-height: 30px;">
								This is where the Fallback Content goes.<BR>
								(You can add Progressive Enhancement Interactivity here<BR>
								as a fallback for not having full interactivity.)
							</TD>
						</TR>
					</TABLE>
				</DIV>
				<!-- end FALLBACK_SECTION -->
				
				
				<!-- start DEFAULT_CONTENT -->
				<TABLE role="presentation" border="0" cellpadding="0" cellspacing="0" width="600" style="width:600px;">
					<TR>
						<TD align="center" valign="middle" style="font-family:'DinNext', Arial, Helvetica, sans-serif; color:#999999; font-size: 20px; line-height: 30px;">
							<A HREF="#" style="display:block; color:#999999; text-decoration:none;">
								This is for content that stays the same on either version.
							</A>
						</TD>
					</TR>
				</TABLE>
				<!-- end DEFAULT_CONTENT -->
				
				
			</TD>
		</TR>
	</TABLE>
	<!-- end BLACK-MAIN-SECTION -->
	<TABLE role="presentation" border="0" cellpadding="0" cellspacing="0">
		<tr>
			<td class="hide" style="line-height:1px; font-size:1px;" width="600">
				<IMG src="http://shutterstock-marketing-assets.s3.amazonaws.com/CRM/2016/_global/images/spacer.gif" height="1" width="600" style="max-height:1px; min-height:1px; display:block; width:600px; min-width:600px;" border="0" alt="" />
			</td>
		</tr>
	</TABLE>
</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console