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 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

              
                <head>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">

  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;">
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />

    <style type="text/css">
    </style>
  </head>

  <body style="padding:0; margin:0"></body>
  <div marginwidth="0" marginheight="0" style="background:#eeeeee;padding:0" bgcolor="#eeeeee">
    <table width="100%" cellspacing="0" cellpadding="0" style="background:#eeeeee;line-height:1.5" bgcolor="#eeeeee">
      <tbody>
        <tr>
          <td align="center" style="background:#ebeced 50% 0" bgcolor="#ebeced">
            <table width="100%" cellspacing="0" cellpadding="0" style="background:#eeeeee url(https://static.canva.com.s3.amazonaws.com/emails/christmas%203/snowflakes_.gif) repeat-x 0% 0 fixed;color:#eeeeee" bgcolor="#eeeeee">
              <tbody>
                <tr>
                  <td>
                    <table width="550" cellspacing="0" cellpadding="0" style="margin:0 auto;max-width:550px;width:100%">
                      <tbody>
                        <tr>
                          <td width="100%" align="center">
                            <table width="100%" cellspacing="0" cellpadding="0">
                              <tbody>
                                <tr>
                                  <td><span style="color:transparent;display:none!important;min-height:0;max-height:0;max-width:0;overflow:hidden;width:0">Get festive and join our Christmas competition! Upload your designs to any (or all!) of your social media accounts with the tag #createwithcanva for your chance to be showcased to <strong>more than a million people.</strong></span></td>
                                </tr>
                                <tr>
                                  <td style="padding-top:0.5em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                </tr>
                                <tr>
                                  <td align="center" valign="bottom">
                                    <a href="https://www.canva.com/" style="color:#ffffff;display:block" target="_blank"><img src="https://static.canva.com.s3.amazonaws.com/emails/christmas%203/canvaxmaslogo-01.png" alt="" style="color:#ffffff;display:block;font-family:Verdana,sans-serif;font-size:16px;max-width:90%;padding-top:7px" border="0"></a>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <table width="550" cellspacing="0" cellpadding="0" style="background:#ffffff;border-radius:8px;margin:0 auto;max-width:550px;width:100%" bgcolor="#ffffff">
                                      <tbody>
                                        <tr>
                                          <td align="center" valign="bottom">
                                            <a href="https://www.canva.com/" target="_blank"><img src="https://static.canva.com.s3.amazonaws.com/emails/christmas%203/canvaxmaslogo-02.png" alt="" style="max-width:90%" border="0"></a>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td style="padding-top:1.5em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td style="color:#3f4652;font-family:'Open Sans',Arial,sans-serif;font-size:42px;font-weight:100;line-height:52px;padding-left:35px;padding-right:35px;text-align:center" align="center"><font face="'Open Sans', sans-serif">Show us your designs and get featured</font></td>
                                        </tr>
                                        <tr>
                                          <td style="padding-top:2.7em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td align="center" style="max-width:550px">
                                            <a href="https://www.canva.com/design/" target="_blank"><img src="https://static.canva.com.s3.amazonaws.com/emails/christmas%203/christmasheader1.png" alt="image" width="100%" style="display:block" border="0"></a>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td style="padding-top:2em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td style="color:#3f4652;font-family:'Open Sans',sans-serif;font-size:18px;font-weight:100;line-height:30px;padding-left:35px;padding-right:35px;text-align:center" align="center"><font face="'Open Sans', sans-serif">Get festive and join our Christmas competition! Upload your designs to any (or all!) of your social media accounts with the tag #createwithcanva for your chance to be showcased to <strong>more than a million people</strong>.</font></td>
                                        </tr>
                                        <tr>
                                          <td style="padding-top:1.5em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td align="center">
                                            <a href="https://www.canva.com/design/" style="text-decoration:none" target="_blank"></a>
                                            <table height="43" cellspacing="0" cellpadding="0" style="text-align:center">
                                              <tbody>
                                                <tr>
                                                  <td height="45" align="center" bgcolor="#95c31e" style="background:#95c31e repeat-x;border-radius:5px;padding-left:2.8em;padding-right:2.8em"><font face="'Open Sans', sans-serif" style="display:block;font-size:16px;font-weight:600"><a href="https://www.canva.com/design/" style="color:#ffffff;display:block;min-height:43px;line-height:43px;overflow:hidden;text-decoration:none" target="_blank">Create a festive design</a></font></td>
                                                </tr>
                                              </tbody>
                                            </table>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td style="padding-top:2.5em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td align="center" style="max-width:550px">
                                            <a href="https://www.canva.com/design/" target="_blank"><img src="https://static.canva.com.s3.amazonaws.com/emails/christmas%203/christmaswithcanva2.png" alt="image" width="100%" style="display:block" border="0"></a>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td style="padding-top:2em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td style="color:#3f4652;font-family:'Open Sans',sans-serif;font-size:17px;font-weight:100;line-height:30px;padding-left:35px;padding-right:35px;text-align:center" align="center"><font face="'Open Sans', sans-serif">Next week, we will be promoting one design per day on each of our social media platforms. So too will our chief evangelist Guy&nbsp;Kawasaki. Winners announced daily from 14th – 19th December.</font></td>
                                        </tr>
                                        <tr>
                                          <td style="padding-top:1.5em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td align="center">
                                            <a href="https://www.canva.com/design/" style="text-decoration:none" target="_blank"></a>
                                            <table height="43" cellspacing="0" cellpadding="0" style="text-align:center">
                                              <tbody>
                                                <tr>
                                                  <td height="45" align="center" bgcolor="#95c31e" style="background:#95c31e repeat-x;border-radius:5px;padding-left:2.8em;padding-right:2.8em"><font face="'Open Sans', sans-serif" style="display:block;font-size:16px;font-weight:600"><a href="https://www.canva.com/design/" style="color:#ffffff;display:block;min-height:43px;line-height:43px;overflow:hidden;text-decoration:none" target="_blank">Start designing</a></font></td>
                                                </tr>
                                              </tbody>
                                            </table>
                                          </td>
                                        </tr>
                                        <tr>
                                          <td style="padding-top:0.5em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td align="center" style="max-width:550px">
                                            <a href="https://www.canva.com/design/" style="text-decoration:none" target="_blank"><img src="https://static.canva.com.s3.amazonaws.com/emails/christmas%203/merrychristmas2015.png" alt="image" width="100%" style="display:block" border="0"></a>
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
                                  </td>
                                </tr>
                                <tr>
                                  <td>
                                    <table width="100%" cellspacing="0" cellpadding="0">
                                      <tbody>
                                        <tr>
                                          <td style="padding-top:2.1em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td align="center" style="font-family:'Open Sans',sans-serif;font-size:14px;font-weight:100;line-height:12px">
                                            <p style="display:inline-block;margin:0em;padding-bottom:0.5em;padding-right:1.5em">
                                              <a href="https://www.facebook.com/canva?utm_campaign=Christmas%20Competition%202015&amp;utm_content=a&amp;utm_medium=email&amp;utm_source=vero&amp;utm_term=Newsletter&amp;vero_conv=NyWhOXzGZcqwnLGpJKAeYAfXUX_hJm1pzDJ7Zo2g_R7UTVrG4tCQpsLLUDCFkWICsY0G3lDB0OZeVdEe8tlRuspI33gDM2c%3D&amp;vero_id=uabyslximog"
                                              style="color:#848991;margin:none;text-align:center;text-decoration:none" target="_blank"><img src="https://static.canva.com.s3.amazonaws.com/emails/footer/facebook-icon.png" width="20px" border="0">
                                                <br>
                                                <br><font face="'Open Sans', sans-serif">Facebook</font></a>
                                            </p>
                                            <p style="display:inline-block;margin:0em;padding-bottom:0.5em;padding-left:1.5em;padding-right:1.5em">
                                              <a href="https://twitter.com/canva?utm_campaign=Christmas%20Competition%202015&amp;utm_content=a&amp;utm_medium=email&amp;utm_source=vero&amp;utm_term=Newsletter&amp;vero_conv=NyWhOXzGZcqwnLGpJKAeYAfXUX_hJm1pzDJ7Zo2g_R7UTVrG4tCQpsLLUDCFkWICsY0G3lDB0OZeVdEe8tlRuspI33gDM2c%3D&amp;vero_id=uabyslximog"
                                              style="color:#848991;margin:none;text-align:center;text-decoration:none" target="_blank"><img src="https://static.canva.com.s3.amazonaws.com/emails/footer/twitter-icon.png" width="20px" border="0">
                                                <br>
                                                <br> <font face="'Open Sans', sans-serif">Twitter</font></a>
                                            </p>
                                            <p style="display:inline-block;margin:0em;padding-bottom:0.5em;padding-left:1.5em;padding-right:1.5em">
                                              <a href="https://www.instagram.com/canva/?utm_campaign=Christmas+Competition+2015&amp;utm_content=a&amp;utm_medium=email&amp;utm_source=vero&amp;utm_term=Newsletter&amp;vero_conv=NyWhOXzGZcqwnLGpJKAeYAfXUX_hJm1pzDJ7Zo2g_R7UTVrG4tCQpsLLUDCFkWICsY0G3lDB0OZeVdEe8tlRuspI33gDM2c%3D&amp;vero_id=uabyslximog"
                                              style="color:#848991;margin:none;text-align:center;text-decoration:none" target="_blank"><img src="https://static.canva.com.s3.amazonaws.com/emails/footer/instagram-icon.png" width="20px" border="0">
                                                <br>
                                                <br> <font face="'Open Sans', sans-serif">Instagram</font></a>
                                            </p>
                                            <p style="display:inline-block;margin:0em;padding-bottom:0.5em;padding-left:1.5em">
                                              <a href="https://www.pinterest.com/canva/?utm_campaign=Christmas+Competition+2015&amp;utm_content=a&amp;utm_medium=email&amp;utm_source=vero&amp;utm_term=Newsletter&amp;vero_conv=NyWhOXzGZcqwnLGpJKAeYAfXUX_hJm1pzDJ7Zo2g_R7UTVrG4tCQpsLLUDCFkWICsY0G3lDB0OZeVdEe8tlRuspI33gDM2c%3D&amp;vero_id=uabyslximog"
                                              style="color:#848991;margin:none;text-align:center;text-decoration:none" target="_blank"><img src="https://static.canva.com.s3.amazonaws.com/emails/footer/pinterest-icon.png" width="20px" border="0">
                                                <br>
                                                <br> <font face="'Open Sans', sans-serif">Pinterest</font></a>
                                            </p>
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
                                  </td>
                                </tr>
                                <tr>
                                  <td align="center">
                                    <table width="100%" cellspacing="0" cellpadding="0" style="max-width:380px">
                                      <tbody>
                                        <tr>
                                          <td style="padding-top:1.3em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                        </tr>
                                        <tr>
                                          <td style="color:#8c9097;font-family:'Open Sans',sans-serif;font-size:12px;font-weight:100;padding-left:3px;padding-right:3px;text-align:center" align="center"><font face="'Open Sans', sans-serif">You are receiving this email because you signed up to Canva. <a style="color:#8c9097" href="https://app.getvero.com/unsubscribe/#" target="_blank">Unsubscribe</a> from this list.</font></td>
                                        </tr>
                                      </tbody>
                                    </table>
                                  </td>
                                </tr>
                                <tr>
                                  <td style="padding-top:5em"><img src="https://s3.amazonaws.com/static.canva.com/emails/spacer.gif" width="1" height="1" style="display:block" border="0"></td>
                                </tr>
                              </tbody>
                            </table>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
              </tbody>
            </table>
          </td>
        </tr>
      </tbody>
    </table><img width="1px" height="1px" alt="" src="http://email.canva.com/o/eJylUMtuwyAQ_Jr4ghIBNiU5-NCmUg6V-gvWGpaYxIAFJFH-vsFSG1fqrbfVzuw8VoGbwB79SrxFVHay6HOngwP7WL23x8cwblRwlXoSsSy7dOlPqHJhHTATg5AvETXp72QP_goEvCaHy518wA0SnC3Jg01kP0SbsoNEKt1yhdKYpfYVooVsw-z-WtmWUyYYZ4y91EzQjRBUbHgjWbNqqCo-c7qhlXUv-a7WvK93qIQ20uDW1DsumWEMsYqts2f0OKbgKXtc_9nt_60WYt9jZ3URlDWlfIlPMRSzzoPDQpgdloR8n2bgE29pxJwx_kLRTSNkfN7_pNgHN2G25ZGkfLDK7RVjWM8R1tumabZfH7iqHQ"></div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console