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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

            
              <html lang="en">

<head>
  <meta charset="utf-8">
  <!-- utf-8 works for most cases -->
  <meta name="viewport" content="width=device-width">
  <!-- Forcing initial-scale shouldn't be necessary -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <!-- Use the latest (edge) version of IE rendering engine -->

  <title>Enjoy the Comforts of Home While You Work</title>
  <!-- The title tag shows in email notifications, like Android 4.4. -->
  <style type="text/css">
    /* What it does: Remove spaces around the email design added by some email clients. */
    	/* Beware: It can remove the padding / margin and add a background color to the compose a reply window. */
  		html,
  		body {
  			margin: 0;
  			padding: 0;
  			height: 100% !important;
  			width: 100% !important;
  		}
  		
  		/* What it does: Stops email clients resizing small text. */
  		* {
  			-ms-text-size-adjust: 100%;
  			-webkit-text-size-adjust: 100%;
  		}
  		
  		/* What it does: Forces Outlook.com to display emails full width. */
  		.ExternalClass {
  			width: 100%;
  		}  
  		
  		/* What it does: Stops Outlook from adding extra spacing to tables. */
  		table,
  		td {
  			mso-table-lspace: 0pt;
  			mso-table-rspace: 0pt;
  		}
  		
      /* What it does: Fixes webkit padding issue. */
      table {
  			border-spacing:0 !important;
      }
  
  		/* What it does: Fixes Outlook.com line height. */
  		.ExternalClass,
  		.ExternalClass * {
      	line-height: 100%;
  		}
  		
  		/* What it does: Fix for Yahoo mail table alignment bug. */
  		table {
  		  border-collapse: collapse;
  		  margin: 0 auto;
  		}
  		
  		/* What it does: Uses a better rendering method when resizing images in IE. */
  		img {
  			-ms-interpolation-mode:bicubic;
  		}
  		
      /* What it does: Overrides styles added when Yahoo's auto-senses a link. */
      .yshortcuts a {
  			border-bottom: none !important;
      }
      
      /* What it does: Overrides blue, underlined link auto-detected by iOS Mail. */
      /* Create a class for every link style needed; this template needs only one for the link in the footer. */
      .mobile-link--footer a {
  	    color: #666666 !important;
      }
      
  		/* What it does: Overrides styles added images. */
  		img {
  			border:0 !important;
  			outline:none !important;
  			text-decoration:none !important;
  		}
  		
  		
      .bodyContent{
          color:#b8b8b8;
          font-family:Arial, sans-serif;
          font-size:12px;
          line-height:16px;
      }
  	
  		.footerContent{
  			color:#b8b8b8;
  			font-family:Arial;
  			font-size:12px;
  			line-height:16px;
  			text-align:center;
  		}
  
  		/* Media Queries */
      @media screen and (max-device-width: 600px), screen and (max-width: 600px) {
  			
  			/* What it does: Overrides email-container's desktop width and forces it into a 100% fluid width. */
  			.email-container {
  				width: 100% !important;
  			}
  
  			/* What it does: Forces images to resize to the width of their container. */
  			img[class="fluid"],
  			img[class="fluid-centered"] {
  				width: 100% !important;
  				max-width: 100% !important;
  				height: auto !important;
  				margin: auto !important;
  			}
  			/* And center justify these ones. */
  			img[class="fluid-centered"] {
  				margin: auto !important;
  			}
  
  			/* What it does: Forces table cells into full-width rows. */
  			td[class="stack-column"],
  			td[class="stack-column-center"] {
  				display: block !important;
  				width: 100% !important;
  				direction: ltr !important;
  			}
  			/* And center justify these ones. */
  			td[class="stack-column-center"] {
  				text-align: center !important;
  			}
   
   			/* Data Table Styles */
   			/* What it does: Hides table headers */
   			td[class="data-table-th"] {
  	 			display: none !important;
   			}
   			/* What it does: Hides table headers */
   			td[class="data-table-th"] {
  	 			display: none !important;
   			}
   			/* What it does: Change the look and layout of the remaining td's */
   			td[class="data-table-td"],
   			td[class="data-table-td-title"] {
  				display: block !important;
  				width: 100% !important;
  				border: 0 !important;
   			}
   			/* What it does: Changes the appearance of the first td in each row */
   			td[class="data-table-td-title"] {
  	 			font-weight: bold;
  	 			color: #333333;
  				padding: 10px 0 0 0 !important;
  	 			border-top: 2px solid #eeeeee !important;
   			}
   			/* What it does: Changes the appearance of the other td's in each row */
   			td[class="data-table-td"] {
  				padding: 5px 0 0 0 !important
   			}
   			/* What it does: Provides a visual divider between table rows. In this case, a bit of extra space. */
   			td[class="data-table-mobile-divider"] {
  				display: block !important;
  				height: 20px;		
   			}
  			
          .bodyContent{font-size:16px !important;}
  		
  		}	@media only screen and (max-width: 600px){
  		.footerContent{
  			font-size:16px !important;
  			line-height:100% !important;
  			padding-left:10px !important;
  			padding-right:10px !important;
  		}
    
    }	@media only screen and (max-width: 600px){
  		table[id=templatePreheader]{
  			display:none;
  		}
  
   			/* END Data Table Styles */
  
  		          
    .templateImage {        display:inline;
          float:none;
  }
  	  
  /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */
   *[class*="mobile-hidden"]{ display:none; }
   }
  </style>
  <!-- Google Plus : BEGIN -->
  <div itemscope itemtype="http://schema.org/EmailMessage">
    <div itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Herman Miller" />
      <link itemprop="url" href="https://www.hermanmiller.com" />
      <link itemprop="url/googlePlus" href="//lh3.googleusercontent.com/-RGKsX4fdCk0/AAAAAAAAAAI/AAAAAAAAAEc/6FOC6Ujzsxk/s120-c/photo.jpg" />
    </div>
    <div itemprop="about" itemscope itemtype="http://schema.org/Offer">
      <link itemprop="image" href="URL goes here" />
    </div>
  </div>
</head>

<BODY bgColor="#eaeaea">
  <style type="text/css">
    div.preheader 
    { display: none !important; }
  </style>
  <div class="preheader" style="font-size: 1px; display: none !important;">Swoop tables and seating work together to bring comfort and productivity to the home or office.</div>
  <style type="text/css">
  </style>
  <table cellpadding="0" cellspacing="0" border="0" height="100%" width="100%" bgcolor="#eaeaea" style="border-collapse:collapse;">
    <tr>
      <td>


        <!-- Google Plus : END -->
        <!-- Email wrapper : BEGIN -->
        <table border="0" width="612" cellpadding="0" cellspacing="0" align="center" style="width:612px; margin: auto;" class="email-container">
          <tr>
            <td>

              <!-- Links : BEGIN -->
              <table width="100%" border="0" cellspacing="0" cellpadding="0" id="templatePreheader">

                <tr>
                  <td valign="middle" style="padding:12px 16px 9px 16px; text-align:right;">
                    <span style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #b8b8b8; border-collapse: collapse;mso-table-lspace: 0pt; mso-table-rspace: 0pt;"><a href="#" target="_blank" style="text-decoration:underline; color:#b8b8b8; font-size: 12px; font-family: Arial, Helvetica, sans-serif;">View in browser</a></tr>
          <tr>
            <td valign="middle" style="padding:3px 0; text-align:right;">          
          </tr>
  
        </table>
        <!-- Links : END -->
  
        <!-- Main Email Body : BEGIN -->
        <table border="0" width="100%" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
      
          <!-- Logo Image, No Crop : BEGIN -->
          <tr>
            <td width="92%" align="center" valign="middle"><a href="http://click.click.hermanmiller.com/?qs=34d09a546331de6d81022df7b5636a125d8776322cd87a3c60766c9c2babc4287ac71e69cd8e70f6"  target="_blank"><img src="http://image.click.hermanmiller.com/lib/fe9112717d660c7c71/m/2/Header-Retina.jpg" width="612" height="82" width: 612px; height: 82px; align="center" border="0" style="margin: auto;" class="fluid" alt="Herman Miller Store" title="Herman Miller Store"></a>
            </td>
          </tr>
          <!-- Logo Image, No Crop : END -->
          
                    <!-- Single Fluid Image #1, No Crop : BEGIN -->
          <tr>
            <td valign="middle" align="center"><a href="http://click.click.hermanmiller.com/?qs=a52ddf54bc60117998738b31aebcc2f7d46bb435dc4830fc49ca987187cbd541d01d3c5080a5d39e"  target="_blank" >
<img src="http://image.click.hermanmiller.com/lib/fe9112717d660c7c71/m/3/Swoop-Campaign-SMB-Email-01_6_24.jpg" width="612" height="786" width: 612px; height: 786px; title="Comforts of Home
As the way we work becomes less formal, Swoop can help the office feel more like home.
Shop Now" alt="Comforts of Home
As the way we work becomes less formal, Swoop can help the office feel more like home.
Shop Now" align="center" border="0" style="margin: auto;" class="fluid" /></a></td>
          </tr>
          <!-- Single Fluid Image #1, No Crop : END -->
         
                    <!-- Single Fluid Image #2, No Crop : BEGIN -->
          <tr>
            <td valign="middle" align="center"><a href="http://click.click.hermanmiller.com/?qs=e7c9921787f6e7c3cb13466b3222f881c12ef6aac59b7987671d39cc9a469c0aa8f44831f2739d70"  target="_blank" >
<img src="http://image.click.hermanmiller.com/lib/fe9112717d660c7c71/m/3/Swoop-Campaign-SMB-Email-02_6_24.png" width="612" height="473" width: 612px; height: 473px; title="How You Work
Creative work often happens away from the desk and Swoop supports it all, from casual conversation to formal collaboration." alt="How You Work
Creative work often happens away from the desk and Swoop supports it all, from casual conversation to formal collaboration." align="center" border="0" style="margin: auto;" class="fluid" /></a></td>
          </tr>
          <!-- Single Fluid Image #2, No Crop : END -->
          
                   
                    <!-- Single Fluid Image #3, No Crop : BEGIN -->
          <tr>
            <td valign="middle" align="center"><a href="http://click.click.hermanmiller.com/?qs=e7c9921787f6e7c303b1e4c4452f4a828bc4619fcf103ecf024a9385f316f2dea053ecef1970cdae"  target="_blank" >
<img src="http://image.click.hermanmiller.com/lib/fe9112717d660c7c71/m/3/Swoop-Campaign-SMB-Email-03_6_24.png" width="612" height="851" width: 612px; height: 851px; title="Where You Work
Swoop Work Tables fit over the armrest
of the lounge chair to create a comfortable workspace with a living room feel." alt="Where You Work
Swoop Work Tables fit over the armrest
of the lounge chair to create a comfortable workspace with a living room feel." align="center" border="0" style="margin: auto;" class="fluid" /></a>
</td>
          </tr>
          <!-- Single Fluid Image #3, No Crop : END -->
                   
                    <!-- Single Fluid Image #4, No Crop : BEGIN -->          <!-- Single Fluid Image #4, No Crop : END -->
                   
                    <!-- Single Fluid Image #5, No Crop : BEGIN -->          <!-- Single Fluid Image #5, No Crop : END -->
          
                      
        
          
                                <!-- Single Fluid Image #6, No Crop : BEGIN -->          <!-- Single Fluid Image #6, No Crop : END -->
          
                                          <!-- Single Fluid Image #7, No Crop : BEGIN -->          <!-- Single Fluid Image #7, No Crop : END -->
          
             
                                          <!-- Single Fluid Image #8, No Crop : BEGIN -->          <!-- Single Fluid Image #8, No Crop : END -->


        </table>
        <!-- Main Email Body : END -->
        
      </td>
		</tr>
    
    <!-- Footer : BEGIN -->
    <tr class=".bodyContent">
      <td valign="top" style="padding-top: 40px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #b8b8b8; font-family: Arial;font-size: 12px;line-height: 16px;text-align: center;"><center>
        <p><strong>Herman Miller, Inc.&nbsp;&shy;855 East Main Ave.&shy; Zeeland,&nbsp;MI,&nbsp;49464,&nbsp;USA</strong> <br>
          Manage&nbsp;your <a target="_blank" style="color: #b8b8b8; text-decoration: underline" href="http://click.click.hermanmiller.com/profile_center.aspx?qs=5070bfa12c23aa1e7135e84ee376d3c15fc4d037efc22425f7286eb37e218ac91cec6c6bcd8d8d7120f4c87f8f16c09f5d682c70223192e6">emails</a>,&nbsp;view&nbsp;our&nbsp;<a href="http://click.click.hermanmiller.com/?qs=d5aad10060269ca0186c3d8f1a81652056beef33b30f4a9d55b71a3795173569732a3dd228670377"  target="_blank"  style="font-family: Arial, sans-serif; color:#b8b8b8; text-decoration:underline">privacy&nbsp;policy</a>, or&nbsp;simply&nbsp;<a target="_blank" style="color: #b8b8b8; text-decoration: underline" href="#" >unsubscribe</a>.<img src="http://image.click.hermanmiller.com/lib/fe9112717d660c7c71/m/2/spacer.gif" alt="" width="1" height=""></p>
        <center>
          <p><img src="http://image.click.hermanmiller.com/lib/fe9112717d660c7c71/m/2/spacer.gif" alt="" width="1" height="10"> <a href="http://click.click.hermanmiller.com/?qs=4a2f751eeaca7de622e7c2c39653e1352f3a4de1937d4f6993cd624f260e794309a72df8b30d0640"  target="_blank"><img src="http://image.click.hermanmiller.com/lib/fe9112717d660c7c71/m/2/Bug-Retina.gif" width="50" height="50" width: 50px;  height: 50px; title="Herman Miller"; alt="Herman Miller"; align="center"; border="0"></a></p>
          <p></p>
    </center>
      </center></td>
    </tr>
    <tr class=".bodyContent">
      <td valign="top" style="padding-top: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #b8b8b8; font-family: Arial;font-size: 12px;line-height: 16px;text-align: center;">&nbsp;</td>
    </tr>
    <tr class=".bodyContent">
      <td valign="top" style="padding-top: 0px;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #b8b8b8; font-family: Arial;font-size: 12px;line-height: 16px;text-align: center;">&nbsp;</td>
    </tr>
    <!-- Footer : END -->
        
  </table>
  <p>&nbsp;</p>
  <!-- Email wrapper : END -->

</td></tr></table>   

<!-- Litmus : BEGIN -->
<style data-ignore-inlining>@media print{ #_t { background-image: url('https://i10uwyv4.emltrk.com/i10uwyv4?p&d=[UNIQUE]');}} div.OutlookMessageHeader {background-image:url('https://i10uwyv4.emltrk.com/i10uwyv4?f&d=[UNIQUE]')} table.moz-email-headers-table {background-image:url('https://i10uwyv4.emltrk.com/i10uwyv4?f&d=[UNIQUE]')} blockquote #_t {background-image:url('https://i10uwyv4.emltrk.com/i10uwyv4?f&d=[UNIQUE]')} #MailContainerBody #_t {background-image:url('https://i10uwyv4.emltrk.com/i10uwyv4?f&d=[UNIQUE]')}</style><div id="_t"></div>
<img src="https://i10uwyv4.emltrk.com/i10uwyv4?d=[UNIQUE]" width="1" height="1" border="0" />

<!-- Litmus : END -->

</body>
</html>
            
          
!

CSS

            
              
            
          
!

JS

            
              
            
          
!
999px

Console