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="kontejner">
  <p><span>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Facilis vitae unde eius odio, officiis dolore commodi dolorem totam ad quos laboriosam repellendus assumenda neque molestiae tempore laborum, quas delectus aliquam!</span>
  <span>Numquam odio obcaecati illo quasi at libero, quam quos molestias, voluptatibus nisi delectus iusto voluptate maiores ipsa porro in veniam magni ratione natus labore nostrum culpa reiciendis. Rem, qui, odio.</span>
  <span>Perferendis earum optio, eum ex omnis, maiores alias officia amet ipsam accusantium laborum voluptates placeat animi atque, doloribus, magni. Quidem cupiditate veritatis nemo, qui, eveniet perspiciatis nisi dolores voluptatum blanditiis?</span>
  <span>Ipsam, vitae perspiciatis aliquam eligendi, doloremque ab eveniet enim nihil architecto nam rem aliquid error. Beatae veniam expedita accusamus, provident, impedit autem. Quam a similique voluptatem, quae, laudantium corporis iusto.</span>
  <span>Laudantium dignissimos nobis vel tenetur ullam quia ipsam laborum perferendis, delectus. Omnis sapiente ea perferendis recusandae harum magni, vel, nulla dolorem asperiores ab! Aliquid reprehenderit, nesciunt ea adipisci nobis dolorum?</span></p>
  
  
</div>
              
            
!

CSS

              
                .kontejner {
  -webkit-columns: 100px 4;
  -moz-columns: 100px 4;
  columns: 100px 4;
  -webkit-column-gap: 3em;
  -moz-column-gap: 3em;
  column-gap: 3em;
}

body {
  font-size: 12px;
  font-family: 'Georgia', serif;
  font-weight: 400;
  line-height: 1.45;
  color: #333;
  background: white;
  padding: 2em 1em;
}

p {
  background-color:#d0d0d0;
  text-align: justify;
  margin:0;
}


              
            
!

JS

              
                
              
            
!
999px

Console