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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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>
<html lang="en">
    <head>
    <title>Dinner Invite</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <style type="text/css">

 
        /*CLient Specific Styles */
        body, table, td, a {-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;} /* Make sure size of text is not changed by render engine */
        table, td { mso-table-lspace: 0pt; mso-table-rspace: 0pt; } /* MSO no spacing added to tables */
        img {-ms-interpolation-mode: bicubic; } /* Scale img nicely */

        /* Reset Styles */
        img { border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none; }
        table {border-collapse: collapse !important; } /* spacing between table cells that house our content is collapsed, no extra whitespace breaking columns */
        body { height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important; } /* Fill Screen */

        /* iOS Blue Links */
        a[x-apple-data-detectors] {
            color: inherit !important;
            text-decoration: inherit !important;
            font-size: inherit !important;
            font-family: inherit !important;
            font-weight: inherit !important;
            line-height: inherit !important;
        }

        /* Gmail Blue Links */
        u + #body a {
            color: inherit;
            text-decoration: none;
            font-size: inherit;
            font-family: inherit;
            font-weight: inherit;
            line-height: inherit;
        }

        @media screen {
            @font-face {
                font-family: 'Montserrat';
                font-style: normal;
                font-weight: 400;
                src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v13/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
                unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
        }

        @media screen and (max-width: 600px) {
            .responsive-table {
                width: 100% !important;
            }
            .mobile-copy {
                font-size: 18px !important;
                line-height: 28px !important;
            }
        }

        a:hover {
            text-decoration: none;
        }

    </style>
    </head>

<body id="body" style="margin: 0 !important; padding: 0 !important;">

 <table align="center" width="100%" border="0" bgcolor="#eaeaea" cellpadding="0" cellspacing="0" role="presentation">

   <tr>
   <td>
   <table class="responsive-table" align="center" width="600px" border="0" bgcolor="#ffffff" cellpadding="0" cellspacing="0" role="presentation">
     
   <!--[if (gte mso 9)|(IE)]>
    <table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="padding: 0 0 0 0; margin: 0 0 0 0;">
    <tr>
    <td align="center" valign="top" width="600" bgcolor="#4A565F">
    <![endif]-->

     
					<tr>
						<td style="padding: 0px 0px 0px 0px" class="" align="center"><img alt="Logo Header" src="https://i.imgur.com/NTsgRNA.png" style="display: block; background-color: #3761a5; color:lightcyan; font-family: sans-serif; font-size: 32px; font-weight: bold; width: 100%; max-width: 100%; min-width: 200px;" width="600" border="0"> <!--min-width so images don't get too small--></td>
					</tr>

     
     
    <tr>
    <td align="center" bgcolor="#F0F4F8" style="color: #102A43; font-family: 'Montserrat', sans-serif; font-weight: normal; line-height: 56px; padding: 20px 10px 0px 10px;">
      <p style="margin: 0; font-weight: normal">You are formally invited to:</p>
        <h1 style="margin: 0; font-weight: normal; font-size: 48px;">Our New Outdoor Showcase</h1>
      
    </td>
    </tr>

        <!--Image Module-->
    <tr>
    <td align="center" bgcolor="#F0F4F8" style="padding: 40px 10px 40px 10px">
        <img src="https://images.unsplash.com/photo-1602860739945-9a61573cd62d?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80" alt="donate now" width="600" border="0" style="display: block; background-color: #357edd; color:lightcyan; font-family: sans-serif; font-size: 32px; font-weight: bold; width: 100%; max-width: 100%; min-width: 200px;"> <!--min-width so images don't get too small-->
    </td>
    </tr>

    <tr>
    <td align="left" bgcolor="#F0F4F8" style="color: #102A43; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: normal; line-height: 32px; padding: 20px 10px 0px 10px;">
      <h1 style="margin: 0; font-weight: normal; font-size: 48px; padding: 0px 10px 20px 10px;">212 Martin Ave.</h1>
        <p style="margin: 0; padding: 0px 10px 20px 10px;">Revnovated to a beautiful indooor-outdoor living space with a chez lounge and plenty of space for relaxation.</p>
    </td>
    </tr>

    
    <tr>
    <td align="center" bgcolor="#F0F4F8" style="padding: 60px 10px 60px 10px;">

     <!-- Border Based Button Module -->
     <table border="0" cellpadding="0" cellspacing="0">
       <tr>
       <td>
        <a href="#" target="_blank" style="font-size: 18px; font-family: sans-serif; color: #EFFCF6; text-decoration: none; -webkit-border-radius: 8px; border-radius: 8px; background-color: #014D40; border-top: 16px solid #014D40; border-bottom: 16px solid #014D40; border-right: 40px solid #014D40; border-left: 40px solid #014D40; display: inline-block;">View Now</a> <!-- disp block so link is a block lvl el -->
       </td>
       </tr>
      </table>

    </td>
    </tr>

    <tr>
    <td align="left" bgcolor="#102A43" style="color: #EFFCF6; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: normal; line-height: 32px; padding: 40px 20px 40px 20px;">
            <p style="margin: 0">We offer decks, pattios, lawncare, gardening, landscaping, and more <a href="#" style="color: #EFFCF6; font-weight: bold; font-style: italic">see what we have to offer</a> and save today! Voluptates alias laboriosam animi! Lorem ipsum dolor sit amet consectetur adipisicing elit. Suscipit maxime cum ratione nobis quibusdam corrupti in incidunt architecto, itaque, voluptates culpa voluptate iusto ex a consequatur rerum eos? Animi, vitae?</p>
    </td>
    </tr>

   <!-- 2COL Module -->
					<tr>
						<td style="padding: 20px 0px 0px 0px"><!-- Wrapper for 2 Cards -->
						<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
							<tbody>
								<tr>
									<td><!-- Card 1 -->
									<table class="responsive-table" role="presentation" width="48%" cellspacing="0" cellpadding="0" border="0" align="left">
										<tbody>
											<tr>
												<td>
												<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" align="center"><!-- Image Module -->
													<tbody>
														<tr>
															<td style="padding: 10px 10px 0px 20px" class="" align="center"><a href="https://www.google.com/" target="_blank"><img alt="placeholder" src="https://images.unsplash.com/photo-1575517112370-130b9e327b22?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80" style="display: block; color:#3761a5; font-family: sans-serif; font-size: 32px; font-weight: bold; width: 100%; max-width: 100%; min-width: 200px;" border="0"> </a></td>
														</tr>
														<!-- Copy w/ Button Module -->
														<tr>
															<td style="padding: 0px 10px 0px 10px">
															<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
																<tbody>
																	<tr>
																		<td class="caption" valign="top" style="font-family:Arial, Helvetica, sans-serif; font-size: 14px;" height="140">
																		<h1 class="mobile-copy" style="margin: 0; padding: 10px 10px 10px 10px; font-size: 22px">Loft Living Space</h1>

																		<p class="mobile-copy" style="margin: 0; padding: 0px 10px 10px 10px">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.</p>

																		</td>
																	</tr>
																</tbody>
															</table>
															</td>
														</tr>
														<!-- END Copy w/ Button Module -->
													</tbody>
												</table>
												</td>
											</tr>
										</tbody>
									</table>
									<!--END Card 1 --><!-- Card 2 -->

									<table class="responsive-table" role="presentation" width="48%" cellspacing="0" cellpadding="0" border="0" align="center">
										<tbody>
											<tr>
												<td>
												<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" align="center"><!-- Image Module -->
													<tbody>
														<tr>
															<td style="padding: 10px 10px 0px 20px" class="" align="center"><a href="https://www.google.com/" target="_blank"><img alt="placeholder" src="https://images.unsplash.com/photo-1527359443443-84a48aec73d2?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80" style="display: block; color:#3761a5; font-family: sans-serif; font-size: 32px; font-weight: bold; width: 100%; max-width: 100%; min-width: 200px;" border="0"></a></td>
														</tr>
														<!-- Copy Module -->
														<tr>
															<td style="padding: 0px 10px 0px 10px">
															<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
																<tbody>
																	<tr>
																		<td class="caption" valign="top" style="font-family:Arial, Helvetica, sans-serif; font-size: 14px;" height="140">
																		<h1 class="mobile-copy" style="margin: 0; padding: 10px 10px 10px 10px; font-size: 22px">Cedar Pergola</h1>

																		<p class="mobile-copy" style="margin: 0; padding: 0px 10px 10px 10px">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna.</p>

																	
																		</td>
																	</tr>
																</tbody>
															</table>
															</td>
														</tr>
													</tbody>
												</table>
												</td>
											</tr>
										</tbody>
									</table>
									<!-- END Card 2 --></td>
								</tr>
							</tbody>
						</table>
						<!-- END Wrapper for 2 Cards --></td>
					</tr>
					<!-- END 2COL Module -->

     
     <tr>
    <td align="center" bgcolor="#F0F4F8" style="padding: 20px 10px 40px 10px">
        <img src="https://images.unsplash.com/photo-1575517111478-7f6afd0973db?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80" alt="donate now" width="600" border="0" style="display: block; background-color: #357edd; color:lightcyan; font-family: sans-serif; font-size: 32px; font-weight: bold; width: 100%; max-width: 100%; min-width: 200px;"> <!--min-width so images don't get too small-->
    </td>
    </tr>

    <tr>
    <td align="left" bgcolor="#F0F4F8" style="color: #102A43; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: normal; line-height: 32px; padding: 20px 10px 0px 10px;">
      <h1 style="margin: 0; font-weight: normal; font-size: 48px; padding: 0px 10px 20px 10px;">313 San Matteo Blvd.</h1>
        <p style="margin: 0; padding: 0px 10px 20px 10px;">Revnovated to a beautiful indooor-outdoor living space with a chez lounge and plenty of space for relaxation.</p>
    </td>
    </tr>

    
    <tr>
    <td align="center" bgcolor="#F0F4F8" style="padding: 60px 10px 60px 10px;">

     <!-- Border Based Button Module -->
     <table border="0" cellpadding="0" cellspacing="0">
       <tr>
       <td>
        <a href="#" target="_blank" style="font-size: 18px; font-family: sans-serif; color: #EFFCF6; text-decoration: none; -webkit-border-radius: 8px; border-radius: 8px; background-color: #014D40; border-top: 16px solid #014D40; border-bottom: 16px solid #014D40; border-right: 40px solid #014D40; border-left: 40px solid #014D40; display: inline-block;">View Now</a> <!-- disp block so link is a block lvl el -->
       </td>
       </tr>
      </table>

    </td>
    </tr>

     
     
     
     
    <tr>
    <td align="left" bgcolor="#102A43" style="color: #F0F4F8; font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: normal; line-height: 32px; padding: 20px 10px 20px 10px;">
            <p style="margin: 0">We offer decks, pattios, lawncare, gardening, landscaping, and more <a href="#" style="color: #F0F4F8; font-weight: bold; font-style: italic">see what we have to offer</a> and save today! Voluptates alias laboriosam animi! Lorem ipsum dolor sit amet consectetur adipisicing elit. Suscipit maxime cum ratione nobis quibusdam corrupti in incidunt architecto, itaque, voluptates culpa voluptate iusto ex a consequatur rerum eos? Animi, vitae?</p>
    </td>
    </tr>


    <!-- Address Module -->
    <tr> 
    <td align="center" bgcolor="#F0F4F8" style="color: #999999; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: normal; line-height: 18px; padding: 40px 10px 20px 10px;">
        <address style="font-style: normal;">Lahey Landscape Architecture<br/>
            One Front St<br/>
            Boston, MA 02135
        </address>
    </td>
    </tr>

     	<!--[if (gte mso 9)|(IE)]>
    </td>
    </tr>
    </table>
    <![endif]-->

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


</body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console