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

              
                <h1>How to Invade Antarctica</h1>
<h3>Purchase a Thick Coat</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Omnis inventore, molestias consequuntur sit iste, deleniti perspiciatis veniam autem esse placeat, ex sequi! Aut, consequatur repellat necessitatibus nostrum quis reiciendis nisi.</p>
<h3>Design a Flag</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deleniti numquam facilis quis, natus dolorem tenetur ad possimus tempore similique nulla, iure perferendis! Dolorum laborum totam earum. Blanditiis aperiam iure numquam.</p>
<h3>Secure Passage South</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sed libero itaque veritatis architecto enim repudiandae quae dolores cum, fugiat numquam soluta commodi quaerat, alias doloremque et eveniet reiciendis pariatur beatae.</p>
<h3>Bonus Tip: Befriend the Penguins</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Id vel eveniet molestias! Eum quod illum id modi eaque aspernatur, excepturi doloribus libero repellat placeat tenetur distinctio fugiat aliquam ipsam neque?</p>
<h3>Plant Your Custom Flag</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Amet maxime, obcaecati laudantium laboriosam expedita debitis in. Magni laudantium sequi et quaerat dolores placeat minima ipsam. Inventore numquam tempore corporis voluptatibus!</p>
              
            
!

CSS

              
                body { font-family: sans-serif; }
h3 { counter-increment: h3counter; }
h3::before {
  content: counter(h3counter) ". ";
}
              
            
!

JS

              
                
              
            
!
999px

Console