cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

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

Looking for quick-add? Try the external resource search, it's quicker and gives you access to the most recent version of thousands of libraries. ☝️

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.

            
              <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  
  <head>
    <title>Win a Trip to a Golf Magazine Top 10 Public Course!</title>
    <meta http-equiv="Content-Type"
    content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link href="http://www.cbssports.com/images/email/WebFonts.css" rel="stylesheet"
    type="text/css" />
    <style>
      span.yshortcuts, a span {color:#56bc77; background-color:none; border:none;}
      			span.yshortcuts:hover,
      			span.yshortcuts:active,
      			span.yshortcuts:focus {color:#56bc77; background-color:none; border:none;}
      	   @import url(http://www.cbssports.com/images/email/WebFonts3.css);
    </style>
  </head>
  
  <body style="width:100%; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0; background-color: #fff;">
    <style type="text/css">
      div.preheader 
      { display: none !important; }
    </style>
    <div class="preheader" style="font-size: 1px; display: none !important;">Enter now and you & three friends could win a golf getaway at Streamsong Resort,
      named a top 10 public course by Golf Magazine.* Just click the button in the email
      for your chance to win!</div>
    <table border="0" cellpadding="0" cellspacing="0"
    style="table-layout: fixed;font-size: 18px; font-family: font-family: 'Avenir-Roman', Arial, Helvetica, sans-serif; padding:0; width: 602px; color: #5b6c77; background-color: #f5f5f5;text-align: center; margin: 0px auto;"
    align="center" class="bordertable" width="602">
      <tr>
        <td valign="top" style="width: 602px; padding: 1px 0px; background-color: #f5f5f5;"
        class="bordertable">
          <table border="0" cellpadding="0" cellspacing="0" style="background-color: #fff;font-size: 15px; font-family: 'Avenir-Roman', Arial, Helvetica, sans-serif; padding:0; width: 600px; color: #5b6c77; text-align: center; margin: 0px auto;"
          align="center" class="bordertable" width="600">
            <tr>
              <td valign="middle" style="text-align: center; color: #fff;margin: 0px auto; padding-bottom: 20px;"
              class="headerimg">
                <a href="https://www.golfbook.com/sweepstakes?utm_source=cbssports_sweepstakes_email_180731&ET_CID=49995&ET_RID=48804697"
                style="color: #003664;">
                  <img src="http://www.cbssports.com/images/email/graphics/180726_gbsweepsheader1.png"
                  border="0" alt="GolfBook" style="display: block;color: #003664; width: 600px; line-height: 92px; height: 92px;color: #003664; font-size: 20px; font-weight: bold; text-align: center; margin: 0px auto; background-color: #c5e2f2;"
                  align="center" height="92px" width="600" class="headerimg">
                </a>
                <a href="https://www.golfbook.com/sweepstakes?utm_source=cbssports_sweepstakes_email_180731&ET_CID=49995&ET_RID=48804697"
                style="color: #232323;">
                  <img src="http://www.cbssports.com/images/email/graphics/180726_gbsweepsheader2.png"
                  border="0" alt="The Sand Valley Golf Getaway" style="display: block;color: #232323; width: 600px; line-height: 100px; height: 100px;color: #232323; font-size: 20px; font-weight: bold; text-align: center; margin: 0px auto; background-color: #c5e2f2;"
                  align="center" height="100px" width="600" class="headerimg">
                </a>
                <a href="https://www.golfbook.com/sweepstakes?utm_source=cbssports_sweepstakes_email_180731&ET_CID=49995&ET_RID=48804697">
                  <img src="http://www.cbssports.com/images/email/graphics/180726_gbsweepsheader3.png"
                  border="0" alt="GolfBook" style="display: block;color: #fff; width: 600px; line-height: 0px; height: 163px;color: #fff; font-size: 20px; font-weight: bold; text-align: center; margin: 0px auto;"
                  align="center" height="163px" width="600" class="headerimg">
                </a>
                <a href="https://www.golfbook.com/sweepstakes?utm_source=cbssports_sweepstakes_email_180731&ET_CID=49995&ET_RID=48804697">
                  <img src="http://www.cbssports.com/images/email/graphics/180726_gbsweepsheader4.png"
                  border="0" alt="GolfBook" style="display: block;color: #fff; width: 600px; line-height: 0px; height: 129px;color: #fff; font-size: 20px; font-weight: bold; text-align: center; margin: 0px auto;"
                  align="center" height="129px" width="600" class="headerimg">
                </a>
              </td>
            </tr>
            <tr>
              <td valign="top" style="text-align: center; margin: 0px auto;">
                <table border="0" cellpadding="0" cellspacing="0" style="background-color: #fff;padding:0; width: 520px; min-width: 520px; text-align: center; margin: 0px auto;color: #5b6c77;"
                align="center" width="520" class="table335">
                  <tr>
                    <td valign="top" style="padding-bottom: 20px;">
                      <a href="https://www.golfbook.com/sweepstakes?utm_source=cbssports_sweepstakes_email_180731&ET_CID=49995&ET_RID=48804697">
                        <img src="http://www.cbssports.com/images/email/graphics/180730_streamonglogo.png"
                        border="0" alt="GolfBook" style="display: block;color: #fff; width: 233px; line-height: 0px; height: 70px;color: #fff; text-align: center; margin: 0px auto;"
                        align="center" height="70px" width="233">
                      </a>
                    </td>
                  </tr>
                  <tr>
                    <td valign="top" style="color: #232323;font-size: 18px; line-height: 24px; text-align: center;padding-bottom: 23px; font-family: 'Avenir-Heavy', Arial, Helvetica, sans-serif; letter-spacing: 1.2px; letter-spacing: 1.5px !important;"
                    class="headlinetext">
                      <div style="margin: 0px 10px; margin:0px !important; padding:0px; padding:0px 10px !important;"><strong><a href="https://www.golfbook.com/sweepstakes?utm_source=cbssports_sweepstakes_email_180731&ET_CID=49995&ET_RID=48804697" style="color: #232323; text-decoration: underline; text-decoration: underline !important;">ENTER NOW</a> and you &amp; three friends could win a golf getaway at Streamsong Resort, named a top 10 public course by Golf Magazine.*</strong>
                      </div>
                    </td>
                  </tr>
                  <tr>
                    <td valign="top" style="text-align: center; margin: 0px auto; line-height: 100%; padding-bottom: 25px;">
                      <table border="0" cellpadding="0" cellspacing="0" style="background-color: #fff;padding:0; width: 415px; min-width: 415px; letter-spacing: 1.2px; letter-spacing: 1.5px !important;font-family: 'Avenir-Roman', Arial, Helvetica, sans-serif; text-align: left; margin: 0px auto; color: #5b6c77; font-size: 18px; line-height: 18px;"
                      align="center" width="415" class="table335">
                        <tr>
                          <td valign="top" style="width: 15px; font-weight: bold; padding-bottom: 10px;"
                          width="15"> <strong>&bull;</strong>

                          </td>
                          <td valign="top" style="width: 400px; padding-bottom: 10px; font-family: 'Avenir-Roman', Arial, Helvetica, sans-serif; text-align: left;"
                          width="400">Three 18-hole rounds for four golfers</td>
                        </tr>
                        <tr>
                          <td valign="top" style="width: 15px; padding-bottom: 10px; font-weight: bold;"
                          width="15"> <strong>&bull;</strong>

                          </td>
                          <td valign="top" style="width: 400px; padding-bottom: 10px; font-family: 'Avenir-Roman', Arial, Helvetica, sans-serif;"
                          width="400">Three nights stay at Streamsong Resort</td>
                        </tr>
                        <tr>
                          <td valign="top" style="width: 15px; padding-bottom: 10px; font-weight: bold;"
                          width="15"> <strong>&bull;</strong>

                          </td>
                          <td valign="top" style="width: 400px; padding-bottom: 10px; font-family: 'Avenir-Roman', Arial, Helvetica, sans-serif;"
                          width="400">Cash for transportation &amp; cart/caddy fees</td>
                        </tr>
                        <tr>
                          <td valign="top" style="width: 15px; font-weight: bold;" width="15"> <strong>&bull;</strong>

                          </td>
                          <td valign="top" style="width: 400px; font-family: 'Avenir-Roman', Arial, Helvetica, sans-serif;"
                          width="400">Full breakfast daily</td>
                        </tr>
                      </table>
                    </td>
                  </tr>
                  <tr>
                    <td valign="top" style="font-size: 18px; line-height: 23px; text-align: left;padding-bottom: 23px; font-family: 'Avenir-Roman', Arial, Helvetica, sans-serif; letter-spacing: 1.2px; letter-spacing: 1.5px !important;"
                    class="headlinetext">Just click the button below to enter for your chance to win! Plus, once you register,
                      you'll also be able to start booking tee times at over 5,000 courses!</td>
                  </tr>
                  <tr>
                    <td valign="top" style="padding-bottom: 30px; text-align: center;">
                      <div style="text-align: center; margin: 0px auto;">
                        <!--[if mso]>
                          <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word"
                          href="https://www.golfbook.com/sweepstakes?utm_source=cbssports_sweepstakes_email_180731"
                          style="height:51px;v-text-anchor:middle;width:250px;" arcsize="7%" stroke="f" fillcolor="#17c37e">
                            <w:anchorlock/>
                            <center>
                            <![endif]-->
                            <a href="https://www.golfbook.com/sweepstakes?utm_source=cbssports_sweepstakes_email_180731&ET_CID=49995&ET_RID=48804697"
                            style="background-color:#17c37e;border-radius:2px;color:#ffffff;display:inline-block;font-size:16px;line-height:51px;text-align:center;text-decoration:none;width:250px;-webkit-text-size-adjust:none; font-family: 'Avenir-Roman', Arial, Helvetica, sans-serif;"
                            class="largebtn">Enter Now</a>
                            <!--[if mso]>
                            </center>
                          </v:roundrect>
                        <![endif]-->
                      </div>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
            <tr>
              <td valign="top" style="background-color: #f5f5f5; text-align: center; margin: 0px auto;padding-top: 15px;">
                <table class="table335" border="0" cellpadding="0" cellspacing="0" style="background-color: #f5f5f5; font-size: 15px; font-family: Helvetica, sans-serif, Arial; padding:0; width: 520px; min-width: 520px; color: #5b6c77; text-align: left; margin: 0px auto;"
                align="center">
                  <tr>
                    <td valign="top" style="background-color: #f5f5f5; color: #666; font-size: 10px; border-top: 1px dotted #828282; padding: 15px 0px 12px; text-align: left; width: 520px; min-width: 520px;"
                    class="mobilefooter">
                      <div style="margin-bottom:10px; margin-bottom:0 !important; padding-bottom:0; padding-bottom:10px !important;"
                      class="mobilefooter">You are receiving this email because you're opted in to receive Member Announcements
                        from CBSSports.<font style="color: #f5f5f5; font-size: 0px; line-height: 0px;">&zwnj;</font>com.</div>
                      <div
                      style="margin-bottom:10px; margin-bottom:0 !important; padding-bottom:0; padding-bottom:10px !important;"
                      class="mobilefooter">To ensure delivery of emails from CBSSports.<font style="color: #f5f5f5; font-size: 0px; line-height: 0px;">&zwnj;</font>com,
                        please add
                        <a href="https://www.cbssports.com/?ET_CID=49995&ET_RID=48804697" style="text-decoration: none; text-decoration: none !important; color: #666;">contact@email.cbssports.com</a>to your address book.</div>
                        <div style="margin-bottom:10px; margin-bottom:0 !important; padding-bottom:0; padding-bottom:10px !important;"
                        class="mobilefooter">*No purchase necessary. Open to registered users, legal residents of the U. S.,
                          and at least 18 years old or age of majority in state of residence at date of entry.
                          Void in all U.S. territories and possessions and where prohibited by law. Data
                          rates may apply. Sweepstakes ends at 11<font style="color: #f5f5f5; font-size: 0px; line-height: 0px;">&zwnj;</font>:59
                          <font
                          style="color: #f5f5f5; font-size: 0px; line-height: 0px;">&zwnj;</font>:59 p<font style="color: #f5f5f5; font-size: 0px; line-height: 0px;">&zwnj;</font>.m.
                            ET on September<font style="color: #f5f5f5; font-size: 0px; line-height: 0px;">&zwnj;</font> 15,
                            <font
                            style="color: #f5f5f5; font-size: 0px; line-height: 0px;">&zwnj;</font>2018. See
                              <a href="https://www.golfbook.com/sweepstakes/rules?ET_CID=49995&ET_RID=48804697"
                              style="color: #666;">Official Rules</a>for details.</div>
                        <div style="margin-bottom:10px; margin-bottom:0 !important; padding-bottom:0; padding-bottom:10px !important; text-align: center;"
                        class="mobilefooter">
                          <a href="https://www.cbsinteractive.com/legal/cbsi/privacy-policy/highlights?ET_CID=49995&ET_RID=48804697"
                          style="color: #666;">Privacy Policy</a>&nbsp;|&nbsp;
                          <a href="https://www.cbssports.com/settings/newsletters/thankyou?ET_CID=49995&ET_RID=48804697&jobid=49995&mcode=m23704&miid=48804697"
                          style="color: #666; text-decoration: underline; text-decoration: underline !important;">Unsubscribe</a>
                        </div>
                        <div style="margin: 0px; padding: 0px; text-align: center;" class="displaynone">&copy; 2018 CBS Interactive Inc. | 1401 West Cypress Creek Road<font style="color: #f5f5f5; font-size: 0px; line-height: 0px;">&zwnj;</font>,
                          Fort Lauderdale, FL 33309</div>
                        <div style="display: none;mso-hide: all;max-height: 0px; visibility: hidden;line-height: 0px; text-align: center;padding: 0px; margin: 0px auto; padding: 0px;"
                        class="addressdiv">&copy; 2018 CBS Interactive Inc.
                          <br>1401 West Cypress Creek Road<font style="color: #f5f5f5; font-size: 0px; line-height: 0px;">&zwnj;</font>,
                          Fort Lauderdale, FL 33309</div>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>
    <img src="http://click.email.cbssports.com/open.aspx?ffcb10-feeb10797c6d01-fe30107472640378741572-fe9a1372756d077d75-ff9d1670-fe6711757560077c7617-ff011678766504"
    width="1" height="1">
    <img src="https://pixel.inbox.exacttarget.com/pixel.gif?r=91098c190a481df716aecf59d7021d8d033e8b72&MarketingEmailJobID=49995&c=49995&s=48804697"
    width="1" height="1" />
  </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.
Loading ..................

Console