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

              
                <article>
  <section>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Eum ipsa recusandae iure est illum, fugit soluta amet, itaque libero nulla harum quibusdam sunt autem ea porro quaerat. Est, accusantium, odio?</section>
  <section>lorem ipsum</section>
  <section>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab tempora, quia optio voluptatem perferendis porro facere sunt doloribus nisi eligendi et veritatis, doloremque labore delectus, quasi praesentium molestiae error! Vitae? ipsum dolor sit amet, consectetur adipisicing elit. Qui expedita maxime deleniti quidem error, beatae sit hic repudiandae facere itaque quae voluptate dolorem cumque architecto fugiat obcaecati, magni, ullam ducimus.</section>
  <section>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Officiis sit fuga numquam, nam, maxime quam voluptates, alias tempore odio aliquid reprehenderit, laboriosam earum fugiat. Soluta esse facere nisi natus nesciunt. ipsum dolor sit amet, consectetur adipisicing elit. Dicta in commodi beatae totam asperiores veniam, excepturi laboriosam et. Architecto non temporibus delectus. Aliquam minus et veritatis, perferendis laboriosam error corporis? ipsum dolor sit amet, consectetur adipisicing elit. Similique dolore ad amet eius tempora, repudiandae facere laborum tenetur ex quasi quia fuga, debitis minima! Ducimus, nesciunt qui! Beatae nam, eligendi?</section>
</article>
              
            
!

CSS

              
                article {
  width:1200px;
  display:flex;
  align-items: stertch;
}

section {
  padding: 15px;
  margin: 5px;
  border: 1px solid #ccc;
  flex-grow: 1;
  flex-basis: 25%;
}
              
            
!

JS

              
                
              
            
!
999px

Console