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 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Starbucks</title>
<style type="text/css">

body { {width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0;}

.ReadMsgBody {width: 100%;}
.ExternalClass p,
.ExternalClass span,
.ExternalClass font,
.ExternalClass td
{line-height: 100%}


table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; padding:0;}
table td {border-collapse: collapse;}

.appleLinks a {color: #000000 !important; text-decoration: none !important;}

.gmailfix {
display:none;
display:none!important;
}

</style>
</head>
  
  <!--iOS9 FIX-->
  <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f1f1f1"><tr>
<td align="center">


<!--FIX THREE-->
<table align="center" width="640" border="0" cellspacing="0" cellpadding="0" bgcolor="#f1f1f1" >

      <tr>
        <td><img style="display:block;"  title="" border="0" src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="1" height="8"></td>
      </tr>
    </table>
<!--FIX THREE-->


<!--FIX ONE-->
<body bgcolor="##f1f1f1"  style="min-width:660px; margin:0 auto; padding:0; text-align:center;">
  
  <div class="gmailfix" style="white-space:nowrap; font:15px courier; line-height:0;">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
</div>

<table width="640" border="0" cellspacing="0" cellpadding="0" bgcolor="#f1f1f1">
  <tbody>
    <tr>
      <td width="640" align="center">
<!--FIX ONE-->

<!--FIX TWO--><table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f1f1f1"><!--FIX TWO-->
    <tr>
      <td style="width: 1px"><img style="display:block;" title="" border="0" src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="1" height="20"></td>
      	<td width="624" valign="top" align="center">    
    <!--Preheader-->
    <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#f1f1f1">
        <tr>
          <td width="1"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="1" height="43" border="0" style="display:block;"></td>
          <td width="638" align="center" valign="middle"><font face="Avenir, Roboto, Arial, Sans-Serif" style="color:#5d5d5d; font-size:22px;">One item from the menu on us</font></td>
          <td width="1"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="1" height="43" border="0" style="display:block;"></td>
        </tr>
      </table>
      <!--Preheader-->
    
    <!--Header-->
      
            
      <!--Body copy-->
      
            <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
          <td width="60"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="60" height="46" border="0" style="display:block;"></td>
        </tr>
      </table>

                  
      <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
          <td width="60"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="60" height="180" border="0" style="display:block;"></td>
          <td width="550" align="left" valign="middle"><font face="Avenir, Roboto, Arial, Sans-Serif" style="color:#1d1d1d; font-size:26px;"><strong>How to Redeem your Reward</strong>
<br><br>
You collected 125 Stars, which means you've earned a free drink or food item. Here's what to do:</font></td>
          <td width="30"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="30" height="180" border="0" style="display:block;"></td>
        </tr>
      </table>
                        <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
        <td width="60"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="60" height="119" border="0" style="display:block;"></td>
         
                   <td width="550" valign="middle">
            <table width="550" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="550" align="left" valign="top"><font face="Avenir, Roboto, Arial, Sans-Serif" style="color:#1d1d1d; font-size:26px;">1. Choose almost anything on the menu</font></td>
                </tr>
            </table>
          </td>
          <td style="width: 30px"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="30" height="97" border="0" style="display:block;"></td>
        </tr>
      </table>
            <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
        <td width="60"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="60" height="119" border="0" style="display:block;"></td>
         
                   <td width="550" valign="middle">
            <table width="550" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="550" align="left" valign="top"><font face="Avenir, Roboto, Arial, Sans-Serif" style="color:#1d1d1d; font-size:26px;">2. Tell your barista you'd like to redeem a <br>&nbsp;&nbsp;&nbsp;&nbsp;Reward</font></td>
                </tr>
            </table>
          </td>
          <td style="width: 30px"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="30" height="97" border="0" style="display:block;"></td>
        </tr>
      </table>
            <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
        <td width="60"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="60" height="119" border="0" style="display:block;"></td>
         
                   <td width="550" valign="middle">
            <table width="550" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="550" align="left" valign="top"><font face="Avenir, Roboto, Arial, Sans-Serif" style="color:#1d1d1d; font-size:26px;">3. Scan with your Starbucks<sup style="vertical-align:top; font-size:15px;">&reg;</sup> app or your<br>&nbsp;&nbsp;&nbsp;&nbsp;registered Starbucks Card</font></td>
                </tr>
            </table>
          </td>
          <td style="width: 30px"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="30" height="97" border="0" style="display:block;"></td>
        </tr>
      </table>
            <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
          <td width="60"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="60" height="56" border="0" style="display:block;"></td>
        </tr>
      </table>

      <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
          <td width="60"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="60" height="120" border="0" style="display:block;"></td>
          <td width="550" align="left" valign="middle"><font face="Avenir, Roboto, Arial, Sans-Serif" style="color:#1d1d1d; font-size:26px;">You can also redeem your reward when you order ahead in the Starbucks app. Simply click 'Redeem' on the Confirm Order screen to use your reward.</font></td>
          <td width="30"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="30" height="120" border="0" style="display:block;"></td>
        </tr>
      </table>
      <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
          <td width="60"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="60" height="56" border="0" style="display:block;"></td>
        </tr>
      </table>


      <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
          <td><a href="http://e.starbucks.com/a/hBZCa8zAJvkyvB9PZQTNsrWZbZu/logo"><img src="http://f.e.starbucks.com/i/52/163466415/2016_newlibraauto_0324_Reward_Notification_06.jpg" alt="Starbucks Rewards&trade;" width="640" height="160" border="0" style="display:block;" title="Starbucks Rewards&trade;"/></a></td>
        </tr>
      </table>
      
      <!--Body copy--> 
      
      <!--Footer-->
      
      <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tr>
          <td><a href="http://e.starbucks.com/a/hBZCa8zAJvkyvB9PZQTNsrWZbZu/logo2"><img src="http://f.e.starbucks.com/i/52/163466415/2016_newlibraauto_03172016_SBUX_LLA_D1_v12_07.jpg" width="175" height="104" border="0" style="display:block;"></a></td>
          <td><a href="http://e.starbucks.com/a/hBZCa8zAJvkyvB9PZQTNsrWZbZu/socialmsi"><img src="http://f.e.starbucks.com/i/52/163466415/2016_newlibraauto_03172016_SBUX_LLA_D1_v12_08.jpg" width="145" height="104" border="0" style="display:block;"></a></td>
          <td><a href="http://e.starbucks.com/a/hBZCa8zAJvkyvB9PZQTNsrWZbZu/socialfb"><img src="http://f.e.starbucks.com/i/52/163466415/2016_newlibraauto_03172016_SBUX_LLA_D1_v12_09.jpg" width="95" height="104" border="0" style="display:block;"></a></td>
          <td><a href="http://e.starbucks.com/a/hBZCa8zAJvkyvB9PZQTNsrWZbZu/socialtw"><img src="http://f.e.starbucks.com/i/52/163466415/2016_newlibraauto_03172016_SBUX_LLA_D1_v12_10.jpg" width="225" height="104" border="0" style="display:block;"></a></td>
        </tr>
      </table>
            
      
      <table width="640" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="ffffff">
        <tbody>
          <tr>
            <td width="20" bgcolor="#FFFFFF"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="20" height="1" border="0" style="display: block;" /></td>
            <td width="600" valign="top" class="footerContainer">
            <table width="599" border="0" cellpadding="0" cellspacing="0" class="footerContainer">


               <tr>
                   <td align="left" valign="top"><font face="Avenir, Roboto, Arial, Sans-Serif" style="color:#373737; font-size:12px;"><br>Some restrictions apply. Rewards may be redeemed at participating stores only and exclude alcoholic beverages and multi-serve food and beverage items. Stars (including partial Stars) earned toward free food and drink rewards expire 6 months after they are earned. See <a href="#" style="text-decoration:none; color:#373737; cursor:Default;">starbucks.com/terms for details.</a><br>
            <br>
            
            
            &copy; 2017 Starbucks Coffee Company. All rights reserved.
            <br><br>
             <a href="http://e.starbucks.com/a/hBZCa8zAJvkyvB9PZQTNsrWZbZu/cardterms" style="color:#373737;"><u>Starbucks Card Terms &amp; Conditions</u></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <a href="http://e.starbucks.com/a/hBZCa8zAJvkyvB9PZQTNsrWZbZu/msrterms" style="color:#373737;"><u>Starbucks Rewards&trade; Terms of Use</u></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;            
            <a href="http://e.starbucks.com/a/hBZCa8zAJvkyvB9PZQTNsrWZbZu/privacy" style="color:#373737;"><u>Privacy Statement</u></a> <br>

            </td>
                </tr><tr>
                
              </tr><tr>
                <td width="624" align="left" style="font-family:Corbel, 'Myriad Pro', 'Trebuchet MS', 'Lucida Sans Unicode', sans-serif; font-size:12px; line-height:normal; color:#666666; font-style:normal; font-weight:bold; text-decoration:none; height: 18px;"><span style="font-family:Corbel, 'Myriad Pro', 'Trebuchet MS', 'Lucida Sans Unicode', sans-serif; font-size:12px; line-height:normal; color:#000000; font-style:normal; font-weight:normal; text-decoration:none;"><img style="display:block;" border="0" src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="1" height="20"></span></td>
              </tr>
              </table></td>

            <td bgcolor="#FFFFFF" width="20"><img src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="20" height="1" border="0" style="display: block;" /></td>
                  </td>
      <td width="1"><img style="display:block;" title="" border="0" src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="1" height="20"></td>
    </tr>
</table>
<!--Footer-->        </td>
      <td width="1"><img style="display:block;" title="" border="0" src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="1" height="20"></td>
    </tr>
</table>

<!--FIX FOUR-->
<table align="center" width="640" border="0" cellspacing="0" cellpadding="0" bgcolor="#eeeeee" >

      <tr>
        <td><img style="display:block;"  title="" border="0" src="http://f.e.starbucks.com/i/52/163466415/080213-sbux-summer2-week8-d1-space.gif" width="1" height="8"></td>
      </tr>
    </table>
<!--FIX FOUR-->
</td>
  </tr>
</table>
<img src="http://e.starbucks.com/a/hBZCa8zAJvkyvB9PZQTNsrWZbZu/spacer.gif">
</body>
</html>

              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console