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.

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 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link href="https://fonts.googleapis.com/css?family=Lato:400,900" rel="stylesheet">
  <title>matty has invited you to join a Slack workspace</title>

  <style type="text/css">
    /* Global Resets */

    body,
    .background_main,
    p,
    table,
    td,
    div {
      font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    img {
      border: none;
      -ms-interpolation-mode: bicubic;
      max-width: 100%;
    }

    p {
      padding-bottom: 2px;
    }

    body {
      background: #fff;
      font-size: 17px;
      line-height: 24px;
      margin: 0;
      padding: 0;
      -ms-text-size-adjust: 100%;
      -webkit-text-size-adjust: 100%;
    }

    table {
      border-collapse: collapse;
      mso-table-lspace: 0pt;
      mso-table-rspace: 0pt;
      width: 100%;
    }

    td {
      font-size: 17px;
      line-height: 24px;
      vertical-align: top;
    }

    /* Footer */

    .email_footer td,
    .email_footer p,
    .email_footer span,
    .email_footer a {
      font-size: 15px;
      text-align: center;
    }

    .email_footer td {
      padding-top: 20px;
    }

    /* Typography */

    h1,
    h2,
    h3,
    h4 {
      color: #434245;
      font-weight: 400;
      line-height: 1.4;
      margin: 0;
      margin-bottom: 12px;
    }

    h1 {
      font-size: 30px;
      line-height: 36px;
      font-weight: 900;
      letter-spacing: -.75px;
      text-align: left;
    }

    p,
    ul,
    ol {
      font-size: 17px;
      line-height: 24px;
      font-weight: normal;
      margin: 0;
      margin-bottom: 15px;
    }

    p li,
    ul li,
    ol li {
      list-style-position: inside;
      margin-left: 5px;
    }

    a {
      color: #3498db;
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    .button_link::after {
      position: absolute;
      content: '';
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      border-radius: 4px;
    }

    .button_link:hover::after {
      box-shadow: inset 0 -2px #237c4a;
    }

    .preview_text {
      color: transparent;
      display: none;
      height: 0;
      max-height: 0;
      max-width: 0;
      opacity: 0;
      overflow: hidden;
      mso-hide: all;
      visibility: hidden;
      width: 0;
      font-size: 1px;
      line-height: 1px;
    }

    .preview_text a {
      color: #3AA3E3 !important;
      font-weight: bold;
    }

    /* Responsive and Mobile Friendly Styles */

    /* Yahoo Mail has a history of rendering all media query styles with class selectors unless class is used as an attribute */

    @media only screen and (max-width: 600px) {
      table[class="background_main"] .sm_full_width {
        width: 100% !important;
      }
      table[class="background_main"] .sm_align_center {
        text-align: center !important;
      }
      table[class="background_main"] .sm_auto_width {
        width: auto !important;
      }
      table[class="background_main"] .sm_auto_height {
        height: auto !important;
      }

      table[class="background_main"] .sm_border_box {
        box-sizing: border-box !important;
      }

      table[class="background_main"] .sm_block {
        display: block !important;
      }
      table[class="background_main"] .sm_inline_block {
        display: inline-block !important;
      }
      table[class="background_main"] .sm_table {
        display: table !important;
      }

      table[class="background_main"] .sm_no_side_padding {
        padding-right: 0 !important;
        padding-left: 0 !important;
      }
      table[class="background_main"] .sm_no_border_radius {
        border-radius: 0 !important;
      }
      table[class="background_main"] .sm_no_padding {
        padding-right: 0 !important;
        padding-left: 0 !important;
      }
      table[class="background_main"] .sm_os_icons_height {
        /* this is to make the parent element the same height as the inline-block img inside */
        height: 44px;
      }
      .social_img_bottom_margin {
        /*this class is for social_user_outreach email only*/
        margin-bottom: 20px !important;
      }
      .social_p_bottom_margin {
        /*this class is for social_user_outreach email only*/
        margin-bottom: 40px !important;
      }
    }

    /* More client-specific styles */

    @media all {
      .ExternalClass {
        width: 100%;
      }
      .ExternalClass,
      .ExternalClass p,
      .ExternalClass span,
      .ExternalClass font,
      .ExternalClass td,
      .ExternalClass div {
        line-height: 100%;
      }
      .email_footer a {
        color: #434245 !important;
        font-family: inherit !important;
        font-size: inherit !important;
        font-weight: inherit !important;
        line-height: inherit !important;
        text-decoration: none !important;
      }
    }

    a:hover {
      text-decoration: underline !important;
    }
  </style>
</head>

<body>
  <!--[if mso]>
	<style type="text/css">
		
		.background_main, table, table td, p, div, h1, h2, h3, h4, h5, h6 {
			font-family: Arial, sans-serif !important;
		}
		
	</style>
	<![endif]-->

  <table width="100%" cellpadding="0" cellspacing="0" border="0" class="background_main" style="background-color: #ffffff; padding-top: 20px; color: #434245; width: 100%; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; ">
    <tr>
      <td valign="top" class="sm_full_width" style="margin: 0 auto; width: 100%; max-width: 600px; display: block;">
        <div class="sm_no_padding" style="margin: 0 auto; padding: 30px 0 40px; display: block; box-sizing: border-box;">

          <table style="width: 100%; color: #434245;" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td style="box-sizing: border-box;">
                <table border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td>
                      <!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" style="padding: 0; margin: 0; width: 100%;">
	<tr>
		<td colspan="3" style="padding: 0; margin: 0; font-size: 20px; height: 20px;" height="20">&nbsp;</td>
	</tr>
	<tr>
		<td style="padding: 0; margin: 0;">&nbsp;</td>
		<td style="padding: 0; margin: 0;" width="540">
<![endif]-->
                      <img style="width: 38px; height: 38px; margin: 0 0 15px 0; padding-right: 30px; padding-left: 30px;" alt="" width="38" height="38" src=https://reallygoodemails.slack.com/x-23615926711-342482005152/img/email/slack_hash@2x.png />

                      <h1 style="font-size: 30px; padding-right: 30px; padding-left: 30px;">
                        Join Really Good Emails on Slack</h1>

                      <p style="font-size: 17px; padding-right: 30px; padding-left: 30px;">

                        Smiles Davis (hello@SmilesDavis.​yeah) has invited you to join the Slack workspace <strong>Really Good Emails</strong>, on a guest account. Join now to start collaborating! </p>

                      <!--[if mso]>
		</td>
		<td style="padding: 0; margin: 0;">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="3" style="padding: 0; margin: 0; font-size: 20px; height: 20px;" height="20">&nbsp;</td>
	</tr>
</table>
<![endif]-->
                      <!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" style="padding: 0; margin: 0; width: 100%;">
	<tr>
		<td colspan="3" style="padding: 0; margin: 0; font-size: 20px; height: 20px;" height="20">&nbsp;</td>
	</tr>
	<tr>
		<td style="padding: 0; margin: 0;">&nbsp;</td>
		<td style="padding: 0; margin: 0;" width="540">
<![endif]-->

                      <div style="padding-right: 30px; padding-left: 30px; ">

                        <table style="width: 100%; " class="sm_table">
                          <tr style="width: 100%;">
                            <td style="width: 100%;">
                              <span style="display: inline-block; position:relative; border-radius:4px; background-color:#2ea664; " class="sm_full_width">
				<a class="button_link sm_full_width sm_border_box" href="#" style="min-width:196px; border-top:13px solid; border-bottom:13px solid; border-right:24px solid; border-left:24px solid; border-color:#2ea664; border-radius:4px; background-color:#2ea664; color:#ffffff; font-size:18px; line-height:18px; word-break:break-word; text-shadow:0 1px 1px #2e9a5f;  display: inline-block; text-align: center; font-weight: 900; text-decoration: none !important;">
							Join Now	
				</a>
			</span>
                            </td>
                          </tr>
                        </table>
                      </div>

                      <!--[if mso]>
		</td>
		<td style="padding: 0; margin: 0;">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="3" style="padding: 0; margin: 0; font-size: 20px; height: 20px;" height="20">&nbsp;</td>
	</tr>
</table>
<![endif]-->
                      <div style="padding-right: 30px; padding-left: 30px;">
                        <div style=" padding: 30px 0 22px; margin: 0; padding-top: 20px;"></div>
                      </div>

                      <table style="width: 100%;">
                        <tr>
                          <td style="box-sizing: border-box; padding: 0; padding-right: 30px; padding-left: 30px;">
                            <div style="color: #434245; text-align: left; width: 100%; font-size: 15px;">
                              <table border="0" cellpadding="0" cellspacing="0" style="display: inline-table; vertical-align: top; width: 100%;">
                                <tbody class="sm_full_width">
                                  <tr class="sm_full_width" style="border-top: 1px solid #E1E1E4;">
                                    <td class="sm_full_width" style="padding-top: 10px;">
                                      <!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" style="padding: 0; margin: 0; width: 100%;">
	<tr>
		<td colspan="3" style="padding: 0; margin: 0; font-size: 20px; height: 20px;" height="20">&nbsp;</td>
	</tr>
	<tr>
		<td style="padding: 0; margin: 0;">&nbsp;</td>
		<td style="padding: 0; margin: 0;" width="540">
<![endif]-->
                                      <table border="0" cellpadding="0" cellspacing="0" width="434" class="sm_full_width" style="display: inline-table; width: 434px; max-width: 100%;">
                                        <tr>
                                          <td width="38" style="width: 38px; padding-right: 15px; padding-top: 20px;"><a href="https://vitalfew.slack.com/x-23615926711-342482005152/signin" style="margin: 6px 0 15px; display: block;"><img alt="" src="https://media.licdn.com/mpr/mpr/shrink_200_200/gcrc/dms/image/C560BAQErz9a4BhFeig/company-logo_400_400/0?e=2123888400&v=beta&t=fGsPuUjj1RDEwLG8vQFkDK8CUPRkYmTFpDUgZQTyWgw" style="height: 38px; width: 38px; min-width: 38px; border-radius: 4px; color: #FFFFFF; font-size: 18px; line-height: 38px;" /> </a></td>
                                          <td
                                            width="378" class="sm_auto_width" style="padding-top: 20px; font-size: 15px;">
                                            <strong>Really Good Emails</strong><br/> Workspace URL: reallygoodemails.slack.com
                                    </td>
                                    </tr>
                                    </table>

                                    <div style="clear: both;"></div>
                                    <!--[if mso]>
		</td>
		<td style="padding: 0; margin: 0;">&nbsp;</td>
	</tr>
	<tr>
		<td colspan="3" style="padding: 0; margin: 0; font-size: 20px; height: 20px;" height="20">&nbsp;</td>
	</tr>
</table>
<![endif]--></td>
                          </tr>
                          </tbody>
                          </table>
                          </div>
                    </td>
                    </tr>
                    </table>

              </td>
              </tr>
              </table>
      </td>
      </tr>
      </table>
      </div>
      </td>
    </tr>
    <tr>
      <td class="email_footer" style="padding: 0 30px 40px; border-top: 1px solid #E1E1E4; line-height: 24px; font-size: 15px; color: #717274; text-align: center; width: 100%;">
        <table border="0" cellpadding="0" cellspacing="0" width="100%" align="center" style="margin-top: 20px; background-color: white;">
          <tr>
            <td>&nbsp;</td>
            <td>
              <span style="display: block;">
																
								Made by <a href="https://slack.com" style="text-decoration: none; color: #434245;">Slack Technologies, Inc</a>
								<br/>
								155 5th Street, 6th Floor&nbsp;
								&nbsp;San&nbsp;Francisco,&nbsp;CA&nbsp;94103
																							</span>
            </td>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td>
              <span>
									<a href="https://slackhq.com" style="text-decoration: none; color: #434245;">
										Our Blog									</a>
									<span style="color: #D8D8D8;">&nbsp;&bull;&nbsp;</span>

              <a href="#" style="text-decoration: none; color: #434245;">
										Unsubscribe									</a>
              <span style="color: #D8D8D8;">&nbsp;&bull;&nbsp;</span>

              <a href="https://slack.com/legal" style="text-decoration: none; color: #434245;">
										Policies									</a>
              </span>
            </td>
            <td>&nbsp;</td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</body>

</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console