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 HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
    <style></style>
  </head>
  
  <body>
    <p></p>
    <div style='color:#1b2733;font-family:AtlasGrotesk, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;font-size:14px;margin:0 auto;max-width:720px;'>
      <div style="font-size:12px;padding-left:2px;"></div>
      <div style="margin-top:15px;border:1px solid #e6e8eb;">
        <div><span style="display:none !important;"></span>
          <div style="padding:20px 0;max-width:85%;margin:0 auto;">
            <table style="width:100%;table-layout:fixed;border-collapse:collapse;">
              <tbody>
                <tr>
                  <td style="max-width:100%;padding:0px;text-align:center;">
                    <a href="https://www.dropbox.com/paper?bmnt=AADxrZ9HstuaKnGB12jXmjkjvjtLhvZuNp4">
                      <div>
                        <img style="padding:20px 0;max-height:32px;max-width:100%;border-style:none;"
                        src="https://paper.dropboxstatic.com/static/img/email/paper-logo-m1@2x.png">
                      </div>
                    </a>
                  </td>
                </tr>
              </tbody>
            </table>
            <div style="clear:both;"></div>
          </div>
          <div style="margin:5px auto;max-width:85%;padding-bottom:10px;">
            <div style="padding:12px 0px;">
              <div style="text-align:center;">
                <img src="https://paper.dropboxstatic.com/static/img/ace/live-stickers/wizards/hilarious.gif"
                srcset="https://paper.dropboxstatic.com/static/img/ace/live-stickers/wizards/hilarious@2x.gif 2x">
                <h2 style="font-weight:400;margin-bottom:25px;"><span class="i18n-msg">You’re invited to collaborate</span></h2>
                <div style="text-align:left;"><span class="i18n-msg">Hackpad Importer Bot imported pads from the Hackpad workspace <b>hackpad</b>. You’re invited to join the docs in Dropbox Paper.</span>
                </div>
                <div>
                  <a href="https://paper.dropbox.com/hackpad?bmnt=AAD10WXufTduIGevKCnvaWr-WtQo4YLeVUA"
                  style="background-color:#0061ff;border-radius:4px;color:#fff;display:inline-block;font-size:14px;font-weight:400;padding:12px;text-align:center;text-decoration:none;margin-top:25px;"><span class="i18n-msg">View docs</span>
                  </a>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div style="background-color:#f7f9fa;border-top:1px solid #e6e8eb;padding:20px;color:#6a7c8f;font-size:12px;"><span class="i18n-msg">Learn more about Paper at the <a style="text-decoration:underline;color:#6a7c8f;" href="/help/paper?oref=e"><span class="i18n-msg">Dropbox Help Center</span></a> or read about our
          <a style="text-decoration:underline;color:#6a7c8f;" href="https://www.dropbox.com/privacy?oref=e"><span class="i18n-msg">Privacy Policy</span>
          </a>.</span>
        </div>
      </div>
    </div>
    <tr>
      <td height="10"></td>
    </tr>
    <tr>
      <td style="padding: 0; border-collapse: collapse;">
        <table cellpadding="0" cellspacing="0" align="left" border="0">
          <tr style="color: #a8b9c6; font-size: 11px; font-family: proxima_nova, 'Open Sans', 'Lucida Grande', 'Segoe UI', Arial, Verdana, 'Lucida Sans Unicode', Tahoma, 'Sans Serif'; -webkit-text-size-adjust: none;">
            <td width="400" align="left">
              <br>© 2017 Dropbox</td>
          </tr>
        </table>
      </td>
    </tr>
  </body>

</html>

              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console