Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ 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

Auto Save

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>Multiple Columns and the Picture element combo</h1>

<article>
  <h2>CSS Multiple Columns</h2>
  <p><span class="firstcharacter">A</span>dobe has confirmed that a recent cyber-attack compromised many more customer accounts than first reported. The software-maker said that it now believed usernames and encrypted passwords had been stolen from about
    38 million of its active users. It added that the attackers had also accessed details from an unspecified number of accounts that had been unused for two or more years. The firm had originally said 2.9 million accounts had been affected.

    <h3>Header</h3> Adobe has also announced that the hackers stole parts of the source code to Photoshop, its popular picture-editing program.
    <br />
    <br /> Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam quis risus eget urna mollis ornare vel eu leo. Etiam porta sem malesuada magna mollis euismod. Nullam
    id dolor id nibh ultricies vehicula ut id elit. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam quis risus eget urna mollis ornare vel eu leo.
    <br />
    <br /> Nullam quis risus eget urna mollis ornare vel eu leo. Maecenas faucibus mollis interdum. Curabitur blandit tempus porttitor. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Morbi leo risus, porta ac consectetur ac, vestibulum
    at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec ullamcorper nulla non metus auctor fringilla.

    <blockquote>
      Cras mattis consectetur purus sit amet fermentum. Sed posuere consectetur est at lobortis.
    </blockquote>

    Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Maecenas faucibus mollis interdum. Vestibulum id ligula porta felis euismod semper. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Cum sociis natoque penatibus et
    magnis dis parturient montes, nascetur ridiculus mus.
  </p>
  <article>
              
            
!

CSS

              
                body {
  font-family: 'Merriweather', serif;
  color: #444;
  padding: 40px;
}

.container {
  width: 80%;
  margin: 0 auto;
  border: 1px dashed lightgrey;
  padding: 20px;
}

article {
  columns: 3;
  line-height: 1.5em;
  font-size: 1em;
}
              
            
!

JS

              
                
              
            
!
999px

Console