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

              
                <div class="column">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin sollicitudin, nisl non vehicula mollis, lectus lorem scelerisque est, in viverra urna quam nec odio. Proin at vehicula urna. Quisque gravida fringilla neque, vitae semper nunc bibendum et. Vivamus aliquet fringilla augue, in fringilla orci commodo sit amet. Proin mollis mattis diam eu blandit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam sit amet dignissim massa, a hendrerit ante. Vivamus vulputate ipsum non eros pulvinar, id bibendum orci mollis. Quisque ac diam urna. Duis a lacinia quam, sed scelerisque augue.Cras porta vehicula justo, at rutrum purus iaculis ut. Cras fermentum libero in hendrerit posuere. Fusce suscipit pulvinar est id tincidunt. Nam feugiat faucibus elit et mollis. Proin vulputate nibh ut nisi maximus semper. Vestibulum a leo nisi. Nunc dui nibh, sodales quis egestas at, molestie et massa. Cras dapibus quam sit amet risus gravida ornare. In semper, velit a dictum lobortis, diam ipsum rutrum odio, at vehicula libero odio in sapien. Nam facilisis, dui id feugiat mollis, enim diam vehicula arcu, eu scelerisque urna mauris eget velit. Nullam lobortis risus nisi, et condimentum felis dignissim quis. Curabitur eget lacinia mi. Nullam eu luctus justo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nam feugiat dui a dui gravida lobortis sed mattis odio.sAliquam erat volutpat. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Integer porta libero ante, et suscipit ipsum molestie non. Maecenas nec arcu feugiat, finibus quam vel, dictum dolor. Nulla eleifend augue eget sodales elementum. Cras leo tortor, fermentum eget justo at, elementum varius augue. Vivamus massa sem, cursus eget pharetra quis, molestie nec lorem. Nullam vehicula purus risus, euismod auctor dui convallis sed. Duis nec libero rhoncus, faucibus augue in, rhoncus risus. Etiam nec vehicula nibh. Sed volutpat urna a mattis lobortis. Nam tempus dui velit, eu dapibus lorem fermentum at. Donec neque mauris, sodales sit amet auctor eget, vestibulum ac urna. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.</div>
              
            
!

CSS

              
                .column {
      /* Chrome, Safari, Opera */
    -webkit-column-count: 5;
    -webkit-column-gap: 60px;
    -webkit-column-rule-style: dotted;
    -webkit-column-rule-width: 3px;

    /* Firefox */
    -moz-column-count: 5;
    -moz-column-gap: 60px;
    -moz-column-rule-style: dotted;
    -moz-column-rule-width: 3px;

    column-count: 5;
    column-gap: 60px;
    column-rule-style: dotted;
    column-rule-width: 3px;
}
              
            
!

JS

              
                
              
            
!
999px

Console