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.

            
              <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--[if !mso]><!-->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
    
<!--[if (gte mso 9)|(IE)]>
<style type="text/css">
    table {border-collapse: collapse !important;}
<![endif]-->
    
<style type="text/css">
/* Post Grotesk Font */
@media screen {
@import url(http://static.trulia-cdn.com/images/fonts/PostGroteskBook_20150623/PostGrotesk-Book.otf);
@font-face {
font-family:'PostGroteskBook';
font-weight: 400;
src:url('http://static.trulia-cdn.com/images/fonts/PostGroteskBook_20150623/PostGrotesk-Book.eot');
src:url('http://static.trulia-cdn.com/images/fonts/PostGroteskBook_20150623/PostGrotesk-Book.eot') format('eot'), 
url('http://static.trulia-cdn.com/images/fonts/PostGroteskBook_20150623/PostGrotesk-Book.woff') format('woff2'), 
url('http://static.trulia-cdn.com/images/fonts/PostGroteskBook_20150623/PostGrotesk-Book.woff') format('woff'), 
url('http://static.trulia-cdn.com/images/fonts/PostGroteskBook_20150623/PostGrotesk-Book.svg') format('svg'),
url('http://static.trulia-cdn.com/images/fonts/PostGroteskBook_20150623/PostGrotesk-Book.otf') format('opentype');
}

@import url(http://static.trulia-cdn.com/images/fonts/PostGroteskMedium/PostGrotesk-Medium.otf);
@font-face {
font-family:'PostGroteskMedium';
font-weight: 500;
src:url('http://static.trulia-cdn.com/images/fonts/PostGroteskMedium/PostGrotesk-Medium.eot');
src:url('http://static.trulia-cdn.com/images/fonts/PostGroteskMedium/PostGrotesk-Medium.eot') format('eot'), 
url('http://static.trulia-cdn.com/images/fonts/PostGroteskMedium/PostGrotesk-Medium.woff') format('woff2'), 
url('http://static.trulia-cdn.com/images/fonts/PostGroteskMedium/PostGrotesk-Medium.woff') format('woff'), 
url('http://static.trulia-cdn.com/images/fonts/PostGroteskMedium/PostGrotesk-Medium.svg') format('svg'),
url('http://static.trulia-cdn.com/images/fonts/PostGroteskMedium/PostGrotesk-Medium.otf') format('opentype');
}
}

/* Basics */
body {
    margin: 0 !important;
    padding: 0;
    background-color: #ffffff;
}
table {
    border-spacing: 0;
    font-family: 'PostGroteskBook', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
}
td {
    padding: 0;
}
img {
    border: 0;
}
div[style*="margin: 16px 0"] { 
    margin:0 !important;
}
.wrapper {
    width: 100%;
    table-layout: fixed;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}
.webkit {
    max-width: 600px;
    margin: 0 auto;
}
.outer {
    Margin: 0 auto;
    width: 100%;
    max-width: 600px;
}

.full-width-image img {
    width: 100%;
    height: auto;
}
.inner {
    padding: 15px;
}

/* One column layout */
.one-column .contents {
    text-align: left;
    font-size: 15px;
    line-height: 20px;
    padding: 10px;
}
.one-column p {
    Margin-top: 10px;
    Margin-bottom: 18px;
    color: #474E52;
}

/*Two column layout*/
.two-column {
    text-align: center;
    font-size: 0;
}
.two-column .column {
    width: 100%;
    max-width: 300px;
    display: inline-block;
    vertical-align: top;
}
.contents {
    width: 100%;
}
.two-column .contents {
    font-size: 15px;
    line-height: 20px;
    text-align: left;
}
.two-column img {
    width: 100%;
    max-width: 300px;
    height: auto;
}
.two-column .text {
    padding-top: 10px;
    color: #474E52;
}

/*Media Queries*/
@media screen and (max-width: 400px) {
.two-column .column,
    .three-column .column {
        max-width: 100% !important;
    }
    .two-column img {
        max-width: 100% !important;
    }
    .three-column img {
        max-width: 50% !important;
    }
    .hidden {
        display:none !important;
    }
    .fullimage img {
        width: 100% !important;
        height: auto !important;
    }
    
}
@media screen and (min-width: 401px) and (max-width: 600px) {
.three-column .column {
        max-width: 33% !important;
    }
    .two-column .column {
        max-width: 50% !important;
    }
    .hidden {
        display:none !important;
    }
    .fullimage img {
        width: 100% !important;
        height: auto !important;
    }
    }
 }
</style>
</head>
<body style="margin: 0 !important;padding: 0 !important; background-color: #ffffff !important;">
<center class="wrapper" style="width: 100% !important;table-layout: fixed !important;-webkit-text-size-adjust: 100% !important;-ms-text-size-adjust: 100% !important;">
<!-- UNCOMMENT FOR EVERY OTHER NEWSLETTER  -->
<img src="https://pixel.monitor1.returnpath.net/pixel.gif?r=1a7330de329b986d3a156d1be2010fe7463fdd84&amp;c=con_eyecandy&amp;con_eyecandy=con_eyecandy" style="display: none" width="0" height="0">
<div class="webkit" style="max-width: 600px !important; margin: 0 auto !important;">
<!--[if (gte mso 9)|(IE)]>
<table width="600" align="center">
<tr>
<td>
<![endif]-->
<table class="outer" align="center" style="border-spacing: 0 !important; background-color: #ffffff !important;margin: 0 auto !important;width: 100% !important; max-width: 600px !important;">
    <tbody><tr>
    <td style="padding:0">
    <!-- // START PREHEADER TEXT -->
      <span style="font-size: 1px; color:#FFFFFF">
        Vote for your favorite homes for sale with matching price tags.
      </span>
    <!-- // END PREHEADER TEXT -->
    </td>
  	</tr>
    <tr>
        <td style="padding: 0">
            <table class="outer" align="center" style="border-spacing: 0; margin: 0 auto; width: 100%; max-width: 600px;">
                <!--START One Column Image-->
                <tbody><tr>
                    <td style="padding: 15px; text-align: center;">
                        <a href="http://sv00.trulia.com/track?type=click&amp;enid=ZWFzPTEmYW1wO21zaWQ9MSZhbXA7YXVpZD03OTc0NzM2OCZhbXA7bWFpbGluZ2lkPTIzMzU4OCZhbXA7bWVzc2FnZWlkPTE1MDYxMCZhbXA7ZGF0YWJhc2VpZD0xMDE2MDAmYW1wO3NlcmlhbD0xNjgyODQ1MSZhbXA7ZW1haWxpZD1hbmRyZXdja2luZzg0QGdtYWlsLmNvbSZhbXA7dXNlcmlkPTMzNjM2ODAxJmFtcDt0YXJnZXRpZD0mYW1wO21uPTExMzMwOSZhbXA7Zmw9JmFtcDttdmlkPSZhbXA7ZXh0cmE9JmFtcDsmYW1wOyZhbXA7&amp;&amp;&amp;77909&amp;&amp;&amp;http://www.trulia.com/email/con_eyecandy/www.trulia.com/" style="text-decoration: none;" target="_blank">
                                            <!-- Image: JPG -->
                                            <img src="http://static.trulia-cdn.com/images/email/trulia_logos/2016_trulia_logo_rgb_register_172x46.png" width="86" alt="Trulia" style="font-family: Helvetica, Arial, sans-serif; font-size: 16px; color: #00c767; height:auto; max-width:86px; border: 0; vertical-align:bottom; width:100%;">
                                        </a>
                    </td>
                </tr>
<!--END One Column Image-->
                <!--START One Column Full Width Image-->
                <tr>
                	<td height="27" style="font-size: 10px; line-height: 1px; background-color: #ffffff;">&nbsp;</td>
                </tr>
                <tr>
                    <td class="full-width-image" style="padding-left: 15px; padding-right: 15px; padding-bottom: 15px; background-color: #ffffff;">
                        <a href="http://sv00.trulia.com/t/ecgbaHEDuQBSBdETCsDDHaaVWKfCMBWJiaaaaDOU7BMUTOAya?o=9xAxA26v&amp;ggv;Y=ghjlkqieohm2-_asUof.iis&amp;Usj;r=V&amp;ggv;r=" style="text-decoration: none; color:#ffffff;" target="_blank"><center><img src="http://static.trulia-cdn.com/images/email/marketing/20170619/jun13-headline.gif" width="414" alt="THIS OR THAT" title="THIS OR THAT" style="text-align: center; border: 0; width: 100%; max-width: 414px; height: auto; display:block;"></center></a>
                    </td>
                </tr>
                <tr>
                    <td class="full-width-image" style="padding: 0px; background-color: #ffffff; text-align: center;">
                        <a href="http://sv00.trulia.com/t/ecgbaHEDuQBSBdETCsDDHaaVWKfCMBWJiaaaaDOU7BMUTOAya?o=9xAxA26v&amp;ggv;Y=ghjlkqieohm2-_asUof.iis&amp;Usj;r=W&amp;ggv;r=" style="text-decoration: none; color:#ffffff;" target="_blank"><img src="http://static.trulia-cdn.com/images/email/marketing/20170619/jun13-houses.jpg" alt="houses side-by-side" title="houses side-by-side" width="600" style="text-align: center; border: 0; width: 100%; max-width: 600px; height: auto; display:block;"></a>
                    </td>
                </tr>
                <!--START One Column Full Width Text-->
                <tr>
                	<td height="27" style="font-size: 10px; line-height: 1px; background-color: #ffffff;">&nbsp;</td>
                </tr>
                <tr>
                    <td style="padding-left: 25px; padding-right:25px; width: 100%; margin: 0; font-family: 'PostGroteskBook', Helvetica, Arial, sans-serif; color: #474e52; font-size: 16px; line-height: 22px; text-align: center; background-color: #ffffff;">
                        We've rounded up five sets of homes with matching price tags. <br class="hidden">So where would you rather live? Vote for your favorites now.&nbsp;
                    </td>
                </tr>
                <tr>
                	<td height="30" style="font-size: 10px; line-height: 1px; background-color: #ffffff;">&nbsp;</td>
                </tr>
                <!--END One Column Full Width Text-->
                <!--START One Column Button-->
                <tr>
					<td align="center" valign="middle" style="background-color: #ffffff; align-content:center;text-align:center;">
						<div>
							<!--[if mso]>
							<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="http://sv00.trulia.com/t/ecgbaHEDuQBSBdETCsDDHaaVWKfCMBWJiaaaaDOU7BMUTOAya?o=9xAxA26v&amp;ggv;Y=ghjlkqieohm2-_asUof.iis&amp;Usj;r=X&amp;ggv;r=" style="height:44px;v-text-anchor:middle; width:320px; align-content:center;text-align:center;" arcsize="5%" stroke="f" fillcolor="#527b1d">
							<w:anchorlock/>
							<center>
							<![endif]--><a href="http://sv00.trulia.com/t/ecgbaHEDuQBSBdETCsDDHaaVWKfCMBWJiaaaaDOU7BMUTOAya?o=9xAxA26v&amp;ggv;Y=ghjlkqieohm2-_asUof.iis&amp;Usj;r=Y&amp;ggv;r=" style="background-color:#527b1d;border-radius:5px;color:#ffffff;display:inline-block;font-family:'PostGroteskBook', Helvetica, Arial, sans-serif;font-size:16px;font-weight:bold;line-height:44px;text-align:center;letter-spacing:0.5px;text-decoration:none;width:275px;-webkit-text-size-adjust:none;" target="_blank"><strong>Eenie, Meenie, Miney, Mo </strong></a><!--[if mso]>
							</center>
							</v:roundrect>
							<![endif]-->
						</div>
					</td>
				</tr>
                <!--END One Column Button-->
                <tr><td height="30" style="background-color: #ffffff; font-size: 30px; line-height: 1px;">&nbsp;</td></tr>
                <!--START Footer-->
                <tr>
                  <td align="center" style="padding: 0; background-color: #ffffff;">
                    <a href="http://sv00.trulia.com/t/ecgbaHEDuQBSBdETCsDDHaaVWKfCMBWJiaaaaDOU7BMUTOAya?o=9xAxA26v&amp;ggv;Y=ghjlkqieohm2-_asUof.iis&amp;Usj;r=Z&amp;ggv;r=" style="text-decoration: none;" target="_blank">
                      <img src="https://static.trulia-cdn.com/images/email/welcome/facebook_icon_22x38.png" width="11" alt="FB" style="border:0;max-width:11px; border: 0; vertical-align:bottom; width:100%; font-family: Helvetica, Arial, sans-serif; font-size: 10px; color: #464e51;">
                    </a>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                          <a href="http://sv00.trulia.com/t/ecgbaHEDuQBSBdETCsDDHaaVWKfCMBWJiaaaaDOU7BMUTOAya?o=9xAxA26v&amp;ggv;Y=ghjlkqieohm2-_asUof.iis&amp;Usj;r=a&amp;ggv;r=" style="text-decoration: none;" target="_blank">
                      <img src="https://static.trulia-cdn.com/images/email/welcome/twitter_icon_42x36.png" width="21" alt="T" style="border:0;max-width:21px; border: 0; vertical-align:bottom; width:100%;font-family: Helvetica, Arial, sans-serif; font-size: 10px; color: #464e51;">
                    </a>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                          <a href="http://sv00.trulia.com/t/ecgbaHEDuQBSBdETCsDDHaaVWKfCMBWJiaaaaDOU7BMUTOAya?o=9xAxA26v&amp;ggv;Y=ghjlkqieohm2-_asUof.iis&amp;Usj;r=b&amp;ggv;r=" style="text-decoration: none;" target="_blank">
                      <img src="https://static.trulia-cdn.com/images/email/footer/pinterest_logo.png" width="15" alt="P" style="border:0;max-width:15px; border: 0; vertical-align:bottom; width:100%;font-family: Helvetica, Arial, sans-serif; font-size: 10px; color: #464e51;">
                    </a>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                          <a href="http://sv00.trulia.com/t/ecgbaHEDuQBSBdETCsDDHaaVWKfCMBWJiaaaaDOU7BMUTOAya?o=9xAxA26v&amp;ggv;Y=ghjlkqieohm2-_asUof.iis&amp;Usj;r=c&amp;ggv;r=" style="text-decoration: none;" target="_blank">
                      <img src="https://static.trulia-cdn.com/images/email/footer/instagram_logo.png" width="18" alt="IG" style="border:0;max-width:18px; border: 0; vertical-align:middle; width:100%;font-family: Helvetica, Arial, sans-serif; font-size: 10px; color: #464e51;">
                    </a>
                  </td>
              	</tr>
                <!--END Footer-->
                <!--START One Column Full Width Text-->
                <tr>
                    <td class="one-column" style="padding: 0 !important;">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border-spacing: 0; background-color: #ffffff;">
                            <tbody><tr><td height="15" style="padding: 0;"></td></tr>
                            <tr>
                                <td style="text-align: center; padding: 10px; width: 100%;">
                                    <p style="margin: 0; font-family: 'PostGroteskBook', Helvetica, Arial, sans-serif; color: #474E52; font-size: 13px; line-height: 16px;"></p><table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tbody><tr>
   <td width="55%" align="center"><div style="font-family:Arial, Helvetica, sans-serif; font-size:9px; line-height:14px; font-weight:normal;">
     <p style="font-family:Arial, Helvetica, sans-serif; font-size:9px; line-height:14px; font-weight:normal;">
     This email was sent to hello@SmilesDavis.yeah<br>
<a href="#" target="_blank">Unsubscribe</a> | 
 <a href="#" target="_blank">Email Preferences</a> |
 <a href="http://sv00.trulia.com/track?type=click&amp;enid=ZWFzPTEmYW1wO21zaWQ9MSZhbXA7YXVpZD03OTc0NzM2OCZhbXA7bWFpbGluZ2lkPTIzMzU4OCZhbXA7bWVzc2FnZWlkPTE1MDYxMCZhbXA7ZGF0YWJhc2VpZD0xMDE2MDAmYW1wO3NlcmlhbD0xNjgyODQ1MSZhbXA7ZW1haWxpZD1hbmRyZXdja2luZzg0QGdtYWlsLmNvbSZhbXA7dXNlcmlkPTMzNjM2ODAxJmFtcDt0YXJnZXRpZD0mYW1wO21uPTExMzMwOSZhbXA7Zmw9JmFtcDttdmlkPSZhbXA7ZXh0cmE9JmFtcDsmYW1wOyZhbXA7&amp;&amp;&amp;77911&amp;&amp;&amp;http://www.trulia.com/email/con_eyecandy/www.trulia.com/privacy/" target="_blank">View our  Privacy Policy</a>
 <br>
  © Trulia LLC, 
  535 Mission Street, Suite 700 San Francisco, California 94105 <br>
</p>
   </div>
 </td></tr>
</tbody></table><p></p>
                                    <!-- // OPEN TAG -->
<span style="display: none !important; visibility: hidden; opacity: 0; color: transparent; height: 0; width: 0; font-size: 0px"><img src="http://sv00.trulia.com/t/ebgbaHEDuQBSBdETCsDDHaaVWKfCMBWJiaaaaDOU7BMUTOAya?o=9xAxA26v&amp;ggv;Y=ghjlkqieohm2-_asUof.iis&amp;Usj;r=" width="1" height="1" style="border:0px hidden transparent !important; display:none !important; max-height: 0;" alt=""></span>
<!-- // OPEN TAG -->
                                </td>
                            </tr>
                        </tbody></table>
                    </td>
                </tr>
                <!--END One Column Full Width Text-->
            </tbody></table>
        </td>
    </tr>
</tbody></table>
<!--[if (gte mso 9)|(IE)]>
</td>
</tr>
</table>
<![endif]-->
</div>
</center>


<img id="hzDownscaled" style="position: absolute; top: -10000px;"></body>
            
          
!
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.

Console