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

              
                <body>
  <div class="container">
    <h1>Heading 01</h1>
    <h2>Heading 02</h2>
    <h3>Heading 03</h3>
    <h4>Heading 04</h4>
    <h5>Heading 05</h5>
    <h6>Heading 06</h6>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <ul>
      <li>Hello, I am unordered list</li>
      <li>I contain items
        <ul>
          <li>2nd Level Item</li>
          <li>And another one...</li>
        </ul>
      </li>
      <li>superb stuff... really</li>
    </ul>
    <ol>
      <li>Hello, I am ordered list</li>
      <li>I contain items
        <ol>
          <li>2nd Level Item</li>
          <li>And another one...</li>
        </ol>
      </li>
 
      <li>superb stuff... really</li>
    </ol>
    <blockquote>
      I am a blockquote, look at me! Aren't I the best?
    </blockquote>
    <blockquote class="upfront-quote-alternative">
      I am an alternative blockquote style, look at me! I am like super cool...
    </blockquote>
  </div>
  <div class="container">
    <h1>Heading 01</h1>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <h2>Heading 02</h2>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <h3>Heading 03</h3>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <h4>Heading 04</h4>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <h5>Heading 05</h5>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <h6>Heading 06</h6>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <ul>
      <li>Hello, I am unordered list</li>
      <li>I contain items
        <ul>
          <li>2nd Level Item</li>
          <li>And another one...</li>
        </ul>
      </li>
      <li>superb stuff... really</li>
    </ul>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <ol>
      <li>Hello, I am ordered list</li>
      <li>I contain items
        <ol>
          <li>2nd Level Item</li>
          <li>And another one...</li>
        </ol>
      </li>
 
      <li>superb stuff... really</li>
    </ol>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <blockquote>
      I am a blockquote, look at me! Aren't I the best?
    </blockquote>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
    <blockquote class="upfront-quote-alternative">
      I am an alternative blockquote style, look at me! I am like super cool...
    </blockquote>
    <p>Before they sold out Austin Wes Anderson mumblecore, umami stumptown <a href="#">styled link</a> hella direct trade wayfarers actually. Umami beard meggings next level brunch. </p>
  </div>
</body> 
              
            
!

CSS

              
                body {
  margin:50px;
}

.container {
  max-width:600px;
  margin:0 auto;
}
              
            
!

JS

              
                
              
            
!
999px

Console