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.

            
              <!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<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 -->
    <meta name="x-apple-disable-message-reformatting">  <!-- Disable auto-scale in iOS 10 Mail entirely -->
    <title></title> <!-- The title tag shows in email notifications, like Android 4.4. -->

    <!-- Web Font / @font-face : BEGIN -->
    <!-- NOTE: If web fonts are not required, lines 10 - 27 can be safely removed. -->

    <!-- Desktop Outlook chokes on web font references and defaults to Times New Roman, so we force a safe fallback font. -->
    <!--[if mso]>
        <style>
            * {
                font-family: sans-serif !important;
            }
        </style>
    <![endif]-->

    <!-- All other clients get the webfont reference; some will render the font and others will silently fail to the fallbacks. More on that here: http://stylecampaign.com/blog/2015/02/webfont-support-in-email/ -->
    <!--[if !mso]><!-->
    <!-- insert web font reference, eg: <link href='https://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'> -->
    <!--<![endif]-->

    <!-- Web Font / @font-face : END -->

    <!-- CSS Reset : BEGIN -->
    <style>

        /* 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 auto !important;
            padding: 0 !important;
            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: Centers email on Android 4.4 */
        div[style*="margin: 16px 0"] {
            margin: 0 !important;
        }

        /* What it does: Stops Outlook from adding extra spacing to tables. */
        table,
        td {
            mso-table-lspace: 0pt !important;
            mso-table-rspace: 0pt !important;
        }

        /* What it does: Fixes webkit padding issue. Fix for Yahoo mail table alignment bug. Applies table-layout to the first 2 tables then removes for anything nested deeper. */
        table {
            border-spacing: 0 !important;
            border-collapse: collapse !important;
            table-layout: fixed !important;
            margin: 0 auto !important;
        }
        table table table {
            table-layout: auto;
        }

        /* What it does: Uses a better rendering method when resizing images in IE. */
        img {
            -ms-interpolation-mode:bicubic;
        }

        /* What it does: Prevents Windows 10 Mail from underlining links despite inline CSS. Styles for underlined links should be inline. */
        a {
            text-decoration: none;
        }

        /* What it does: A work-around for email clients meddling in triggered links. */
        *[x-apple-data-detectors],  /* iOS */
        .unstyle-auto-detected-links *,
        .aBn {
            border-bottom: 0 !important;
            cursor: default !important;
            color: inherit !important;
            text-decoration: none !important;
            font-size: inherit !important;
            font-family: inherit !important;
            font-weight: inherit !important;
            line-height: inherit !important;
        }

        /* What it does: Prevents Gmail from displaying a download button on large, non-linked images. */
        .a6S {
            display: none !important;
            opacity: 0.01 !important;
        }
        /* If the above doesn't work, add a .g-img class to any image in question. */
        img.g-img + div {
            display: none !important;
        }

        /* What it does: Removes right gutter in Gmail iOS app: https://github.com/TedGoas/Cerberus/issues/89  */
        /* Create one of these media queries for each additional viewport size you'd like to fix */

        /* iPhone 4, 4S, 5, 5S, 5C, and 5SE */
        @media only screen and (min-device-width: 320px) and (max-device-width: 374px) {
            .email-container {
                min-width: 320px !important;
            }
        }
        /* iPhone 6, 6S, 7, 8, and X */
        @media only screen and (min-device-width: 375px) and (max-device-width: 413px) {
            .email-container {
                min-width: 375px !important;
            }
        }
        /* iPhone 6+, 7+, and 8+ */
        @media only screen and (min-device-width: 414px) {
            .email-container {
                min-width: 414px !important;
            }
        }

    </style>
    <!-- CSS Reset : END -->
	<!-- Reset list spacing because Outlook ignores much of our inline CSS. -->
	<!--[if mso]>
	<style type="text/css">
		ul,
		ol {
			margin: 0 !important;
		}
		li {
			margin-left: 30px !important;
		}
		li.list-item-first {
			margin-top: 0 !important;
		}
		li.list-item-last {
			margin-bottom: 10px !important;
		}
	</style>
	<![endif]-->

    <!-- Progressive Enhancements : BEGIN -->
    <style>

	    

	    /* Media Queries */
	    @media screen and (max-width: 480px) {

	        /* What it does: Forces elements to resize to the full width of their container. Useful for resizing images beyond their max-width. */
	        .fluid {
	            width: 100% !important;
	            max-width: 100% !important;
	            height: auto !important;
	            margin-left: auto !important;
	            margin-right: auto !important;
	        }

	        /* What it does: Forces table cells into full-width rows. */
	        .stack-column,
	        .stack-column-center {
	            display: block !important;
	            width: 100% !important;
	            max-width: 100% !important;
	            direction: ltr !important;
	        }
	        /* And center justify these ones. */
	        .stack-column-center {
	            text-align: center !important;
	        }

	        /* What it does: Generic utility class for centering. Useful for images, buttons, and nested tables. */
	        .center-on-narrow {
	            text-align: center !important;
	            display: block !important;
	            margin-left: auto !important;
	            margin-right: auto !important;
	            float: none !important;
	        }
	        table.center-on-narrow {
	            display: inline-block !important;
	        }

	      
	    }

    </style>
    <!-- Progressive Enhancements : END -->

    <!-- What it does: Makes background images in 72ppi Outlook render at correct size. -->
    <!--[if gte mso 9]>
    <xml>
        <o:OfficeDocumentSettings>
            <o:AllowPNG/>
            <o:PixelsPerInch>96</o:PixelsPerInch>
        </o:OfficeDocumentSettings>
    </xml>
    <![endif]-->

</head>
<!--
	The email background color (#FFFFFF) is defined in three places:
	1. body tag: for most email clients
	2. center tag: for Gmail and Inbox mobile apps and web versions of Gmail, GSuite, Inbox, Yahoo, AOL, Libero, Comcast, freenet, Mail.ru, Orange.fr
	3. mso conditional: For Windows 10 Mail
-->
<body width="100%" style="margin: 0; mso-line-height-rule: exactly; background-color: #FFFFFF;">
    <center style="width: 100%; background-color: #FFFFFF; text-align: left;">
    <!--[if mso | IE]>
    <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #FFFFFF;">
    <tr>
    <td>
    <![endif]-->

        <!-- Visually Hidden Preheader Text : BEGIN -->
        <div style="display: none; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; mso-hide: all; font-family: sans-serif;">
            The New Standard of Sports Journalism - Personalized, in-depth coverage of your favorite teams &amp; leagues
        </div>
        <!-- Visually Hidden Preheader Text : END -->

        <!-- Create white space after the desired preview text so email clients don't pull other distracting text into the inbox preview. Extend as necessary. -->
        <!-- Preview Text Spacing Hack : BEGIN -->
        <div style="display: none; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; mso-hide: all; font-family: sans-serif;">
	        &zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;
        </div>
        <!-- Preview Text Spacing Hack : END -->

        <!--
            Set the email width. Defined in two places:
            1. max-width for all clients except Desktop Windows Outlook, allowing the email to squish on narrow but never go wider than 680px.
            2. MSO tags for Desktop Windows Outlook enforce a 680px width.
            Note: The Fluid and Responsive templates have a different width (600px). The hybrid grid is more "fragile", and I've found that 680px is a good width. Change with caution.
        -->
        <div style="max-width: 680px; margin: 0 auto;" class="email-container">
            <!--[if mso]>
            <table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" width="680">
            <tr>
            <td>
            <![endif]-->

	        <!-- Email Body : BEGIN -->
	        <table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin: 0 auto;">
		        

	           


                <!-- Background Image with Text : BEGIN -->
                <tr>
                    <!-- Bulletproof Background Images c/o https://backgrounds.cm -->
                    <td valign="middle" style="text-align: center; background-image: url('https://marketing-image-production.s3.amazonaws.com/uploads/babcaa9dd3b96e81634d901dbbb8a9d46fad63145ca18d5e7c9b077aeefbbf9acf5aaa35e8271c06c5be1952cbbbb117cff9afaa3eb754c026c7933c3d5c409f.jpg'); background-color: #333333; background-position: center center !important; background-size: cover !important;">
                        <!--[if gte mso 9]>
                        <v:image xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="border: 0; display: inline-block; width: 680px; height: 180px;" src="https://marketing-image-production.s3.amazonaws.com/uploads/babcaa9dd3b96e81634d901dbbb8a9d46fad63145ca18d5e7c9b077aeefbbf9acf5aaa35e8271c06c5be1952cbbbb117cff9afaa3eb754c026c7933c3d5c409f.jpg" />
                        <v:rect xmlns:v="urn:schemas-microsoft-com:vml" fill="true" stroke="false" style="border: 0; display: inline-block; position: absolute; width: 680px; height: 180px;">
                        <v:fill opacity="0%" color="#FFFFFF" />
                        <![endif]-->
                        <div>
                            <!--[if mso]>
                            <table align="center" role="presentation" border="0" cellspacing="0" cellpadding="0" width="500">
                            <tr>
                            <td valign="top" width="500">
                            <![endif]-->
                            <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width:590px; margin: auto;">
                <!-- Email Header : BEGIN -->
	            <tr>
	                <td style="padding: 40px 0 60px 0; text-align: center">
	                    <img src="https://marketing-image-production.s3.amazonaws.com/uploads/3be87f87e712a093e1d60333c14b3b443afe2def2f3c2fb7244197b0c5f11d60b6804ccd72f8849d2b1018bb44c262a6f93e2c367b6a401bfa88ae8d8821a81f.png" width="172" height="16" alt="" border="0" style="height: auto; background: transparent; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #333333;">
	                </td>
	            </tr>
		        <!-- Email Header : END -->
                <!-- Horizontal White Line : BEGIN -->
	            <tr>
	                <td style="padding: 0px 0; text-align: center">
	                    <img src="https://marketing-image-production.s3.amazonaws.com/uploads/9593b490bf566248b9e82e48f57a06cc36ab049aa9d76ef1761e11bef950c51300a999b680a3d1de2b15bd6532da5edec99c88862aae16627c3bfa5b7e0c866c.png" width="80" height="1" alt="" border="0" style="height: auto; background: transparent; font-family: sans-serif; font-size: 1px; line-height: 1px; color: #555555;">
	                </td>
	            </tr>
		        <!-- Horizontal White Line : END -->
                <!-- Hero Headline : BEGIN -->                
                                <tr>
                                    <td valign="middle" style="text-align: center; padding: 70px 20px 10px 20px; font-family:'Georgia', serif; font-size: 40px; line-height: 48px; color: #ffffff;font-weight:bold;letter-spacing: -.4px">
                                        <p style="margin: 0;">
Authentic Coverage for Die-Hard Fans

 </p>
                                    </td>
                                </tr>
                                 <tr>
                                    <td valign="middle" style="text-align: center; padding: 0px 20px 60px 20px; font-family:'Georgia', serif; font-size: 28px; line-height: 30px; color: #ffffff;font-weight:bold;letter-spacing: -.4px">
                                        <p style="margin: 0;">
Now <strike>&#36;4.99</strike> <span style="color:#C29F7B">&#36;2.49</span><span style="font-size:12px;font-weight:100;color:#C29F7B;font-family:'arial',sans-serif;">USD</span> a&nbsp;month

 </p>
                                    </td>
                                </tr>
                <!-- Hero Headline : END -->
                 <!-- Horizontal White Line : BEGIN -->
	            <tr>
	                <td style="padding-bottom: 70px; text-align: center">
	                    <img src="https://marketing-image-production.s3.amazonaws.com/uploads/9593b490bf566248b9e82e48f57a06cc36ab049aa9d76ef1761e11bef950c51300a999b680a3d1de2b15bd6532da5edec99c88862aae16627c3bfa5b7e0c866c.png" width="80" height="1" alt="" border="0" style="height: auto; background: transparent; font-family: sans-serif; font-size: 1px; line-height: 1px; color: #555555;">
	                </td>
	            </tr>
		        <!-- Horizontal White Line : END -->
               
                                 <tr>
                                <td style="padding-bottom:100px;">
                                    <!-- Button : BEGIN -->
                                    <table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
                                        <tr>
                                            <td class="button-td button-td-primary" style="border-radius: 4px; background: ;">
											     <a class="button-a button-a-primary" href="https://theathletic.com/checkout/?plan_id=46&pc=webfree50&source=email&email_login=matt@reallygoodemails.com" style="background: #F24A4A; border: 1px solid #F24A4A; font-family: sans-serif; font-size: 16px; line-height: 15px; text-decoration: none; padding: 13px 90px; color: #ffffff; display: block; border-radius: 25px;font-weight: normal;">Get 50&#37; Off Today</a>
											</td>
                                        </tr>
                                    </table>
                                    <!-- Button : END -->
                                </td>
                            </tr>
                            </table>
                            <!--[if mso]>
                            </td>
                            </tr>
                            </table>
                            <![endif]-->
                        </div>
                        <!--[if gte mso 9]>
                        </v:fill>
                        </v:rect>
                        </v:image>
                        <![endif]-->
                    </td>
                </tr>
                <!-- Background Image with Text : END -->
                
                
                
               
                <!-- Icon + Headline : BEGIN -->
                <tr>
                    <td style="background-color: #ffffff;border-left: solid 1px #CCCCCC;border-right: solid 1px #CCCCCC;padding:80px 50px 40px 50px;">
                        <table align="left" role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
                            <tr>
                                <td width="75px;">
	                    <img src="https://marketing-image-production.s3.amazonaws.com/uploads/af4753da1fc220fe324010b30e3fbe4f8b1d5a78cdd855ea886c2ddb56cb7975da4011bb960e0e56bd1b468067adc63043410f77ecb42bf0184d11376adbd82f.jpg" width="75" height="75" alt="" border="0" style="height: auto; background: #FFFFFF; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #FFFFFF;">
	                </td><td align="left" style="padding-left:30px; font-family: sans-serif; font-size: 18px; line-height: 26px; color: #555555;">
                                    <h1 style="margin: 0 0 22px; font-size: 18px; line-height: 24px; color: #333333; font-weight: bold;">
No ads, clickbait or auto&#8209;play&nbsp;videos
</h1>
                                    
                                </td>
                            </tr>
                            

                        </table>
                        
                    </td>
                    
                </tr>
                <!-- Icon + Headline : END -->
                 <!-- Icon + Headline : BEGIN -->
                <tr>
                    <td style="background-color: #ffffff;border-left: solid 1px #CCCCCC;border-right: solid 1px #CCCCCC;padding:0px 50px 40px 50px;">
                        <table align="left" role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
                            <tr>
                                <td width="75px;">
	                    <img src="https://marketing-image-production.s3.amazonaws.com/uploads/8db4fc1c288de17d3425099bcb8db60a7a1104dfcaafb5155bb5e0b7b629ef6ef0bace83898c21bd74a8e36e4365ee9060353c338107b2eb3bcd201c485286c3.jpg" width="75" height="75" alt="" border="0" style="height: auto; background: #FFFFFF; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #FFFFFF;">
	                </td><td align="left" style="padding-left:30px; font-family: sans-serif; font-size: 18px; line-height: 26px; color: #555555;">
                                    <h1 style="margin: 0 0 22px; font-size: 18px; line-height: 24px; color: #333333; font-weight: bold;">

The best sportswriters in the&nbsp;industry
</h1>
                                    
                                </td>
                            </tr>
                            

                        </table>
                        
                    </td>
                    
                </tr>
                <!-- Icon + Headline : END -->
                 <!-- Icon + Headline : BEGIN -->
                <tr>
                    <td style="background-color: #ffffff;border-left: solid 1px #CCCCCC;border-right: solid 1px #CCCCCC;padding:0px 50px 70px 50px;">
                        <table align="left" role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
                            <tr>
                                <td width="75px;">
	                    <img src="https://marketing-image-production.s3.amazonaws.com/uploads/12376b6598ae8aac71a8811a19981a53fdee723f6088125aee358e80eb5d6666bcda1464ea301c1184afea40d4b127605c6aff91bbe2cdbc26a1092b6204ef61.jpg" width="75" height="75" alt="" border="0" style="height: auto; background: #FFFFFF; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #FFFFFF;">
	                </td><td align="left" style="padding-left:30px; font-family: sans-serif; font-size: 18px; line-height: 26px; color: #555555;">
                                    <h1 style="margin: 0 0 22px; font-size: 18px; line-height: 24px; color: #333333; font-weight: bold;">

Personalized to the teams you care&nbsp;about

</h1>
                                    
                                </td>
                            </tr>
                            

                        </table>
                        
                    </td>
                    
                </tr>
                <!-- Icon + Headline : END -->
               
             

              


             

                

             <tr>
                                <td style="padding-bottom:60px;border-bottom: solid 1px #CCCCCC;border-left: solid 1px #CCCCCC;border-right: solid 1px #CCCCCC;">
                                    <!-- Button : BEGIN -->
                                    <table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
                                        <tr>
                                            <td class="button-td button-td-primary" style="border-radius: 4px; background: #ffffff;">
											     <a class="button-a button-a-primary" href="https://theathletic.com/checkout/?plan_id=46&pc=webfree50&source=email&email_login=matt@reallygoodemails.com" style="background: #F24A4A; border: 1px solid #F24A4A; font-family: sans-serif; font-size: 15px; line-height: 15px; text-decoration: none; padding: 13px 90px; color: #ffffff; display: block; border-radius: 25px;">
Save 50&#37; Now
</a>
											</td>
                                        </tr>
                                    </table>
                                    <!-- Button : END -->
                                </td>
                            </tr>
                <!-- 1 Column Text + Button : END -->
                
            </table>
            <!-- Email Body : END -->

            <!-- Email Footer : BEGIN -->
           <table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="max-width: 600px;" bgcolor="#ffffff">
                <tr>
                    <td style="padding-top:40px; padding-bottom:10px; font-family: sans-serif; font-size: 12px; line-height: 15px; text-align: center; color: #FFFFFF;">
                    
                        
                        
                         <img src="https://marketing-image-production.s3.amazonaws.com/uploads/273f1cefe2be5a4401c7cad4df382fa1c33f5b67ac385f3cf5f1f72dc58084ae2aad6b09efe72d172cf1b450434ecea61bfdd3e45add21e718a9ecf66c0d3166.jpg" width="125" height="48" alt="" border="0" style="height: auto; background: #dddddd; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #555555;">
                    </td>
                </tr>
                 <tr>
                    <td style="padding:0px 10px; font-family: sans-serif; font-size: 12px; line-height: 15px; text-align: center; color: #7D7D7D;">
                        <span style="font-family:georgia,serif;" class="unstyle-auto-detected-links" >©2018 The Athletic Media Company | <a href="" style="font-family:georgia,serif;text-decoration:none;border:none;color:#7D7D7D;">332 Pine St., San&nbsp;Francisco,&nbsp;CA&nbsp;94104</a> </span>
                    </td>
                </tr>
                 <tr>
                    <td style="padding:10px 10px; font-family: sans-serif; font-size: 12px; line-height: 15px; text-align: center; color: #7D7D7D;">
                        <a href="#" style="text-decoration:none;color:#7D7D7D;">View Online</a>&nbsp;|&nbsp;<a href="#" style="text-decoration:none;color:#7D7D7D;">Manage Preferences</a>&nbsp;|&nbsp;<a href="#" style="text-decoration:none;color:#7D7D7D;">Unsubscribe</a>
                        <div style="text-align: center;display:none;">[Unsubscribe]</div>
                    </td>
                </tr>
            </table>
            <!-- Email Footer : END -->

            <!--[if mso]>
            </td>
            </tr>
            </table>
            <![endif]-->
        </div>

        

    <!--[if mso | IE]>
    </td>
    </tr>
    </table>
    <![endif]-->
    </center>
<img src="https://theathletic.com/webhook-sendgrid/?image=tracking.gif&user_id=911937&category=web-signup-promo">
<div style="display:none">
 
</div>


</body>
</html>

            
          
!
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