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>
<html>
  <head>
    <meta charset="utf-8">
    <title>Devin Cooper | Sandwich Maker</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  </head>
  <body>
    <header>
      <a href="index.html" id="logo">
        <h1>Devin Cooper</h1>
        <h2>Sandwich Maker</h2>
      </a>
      <nav>
        <ul>
          <li><a href="https://codepen.io/Ferrous/full/azqROr">Portfolio</a></li>
          <li><a href="https://codepen.io/Ferrous/full/wBmyVX" class="selected">About</a></li>
          <li><a href="https://codepen.io/Ferrous/full/KwoBKJ">Contact</a></li>
        </ul>
      </nav>
    </header>
    <div id="wrapper">
      <section>
        <img src="http://placehold.it/200x200" alt="Photograph of Devin Cooper" class="profile-photo">
        <h3>About</h3>
        <p>Hi, I'm Devin Cooper! This is my Sandwich portfolio where I share all of my favorite sandwiches. When I'm not making sandwiches, I enjoy exercising, playing video games, drinking good coffee, and more.</p>
        <p>If you'd like to follow me in Twitter, my username is <a href="https://twitter.com/devin_cooper">@devin_cooper</a>.</p>
      </section>
      <footer>
        <a href="https://twitter.com/devin_cooper">
          <img src="https://cdn3.iconfinder.com/data/icons/free-social-icons/67/twitter_circle_color-512.png" alt="Twitter Logo" height="42" width="42" class="social-icon">
        </a>
        <a href="https://www.facebook.com/devincooper">
          <img src="https://cdn3.iconfinder.com/data/icons/free-social-icons/67/facebook_circle_color-512.png" alt="Facebook Logo" height="42" width="42" class="social-icon">
        </a>
        <p>&copy; 2015 Devin Cooper.</p>
      </footer>
    </div>
  </body>
</html>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console