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="table">
  <div class="row">
    <div class="column third">
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nostrum dolores, molestiae dolorum perferendis laboriosam aperiam, itaque eligendi cupiditate minima ipsam obcaecati repellendus voluptatibus architecto aut facere. Corporis, eligendi minus porro suscipit neque asperiores laborum voluptas nemo explicabo, delectus in iusto, magni veniam odit exercitationem placeat consequuntur? Repudiandae, rem fugit maiores!</p>
    </div>
    
    <div class="column third">
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Provident iure ullam ex animi molestias, aliquid sapiente necessitatibus, tempora reiciendis ut libero eos, possimus voluptate odit.</p>
    </div>
    
    <div class="column third">
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Pariatur voluptatem dolore tenetur, consectetur tempora, voluptatum ducimus voluptates eius rerum ut placeat dolores assumenda ab. Placeat quo voluptas voluptatem tempora magnam repellat, velit quidem sit sunt tenetur harum quisquam quod adipisci assumenda eos, animi eveniet dolorem, aut repellendus sed dolor est nemo amet mollitia. Perspiciatis vero labore unde velit animi. Deserunt explicabo ullam corrupti corporis odio.</p>
    </div>
  </div>
</div>
              
            
!

CSS

              
                .third { width: 32.99%; }

.table { 
  display: table;
  height: 100%;
  border-collapse: separate;
  border-spacing: 10px;
 }
.row { display: table-row; }
.column {
  display: table-cell; 
  vertical-align: middle;
  border-radius: 5px;
  background: gray;
  color: white;
  line-height: 1.2em;
  padding: 1.2em 1.5em;
}
              
            
!

JS

              
                
              
            
!
999px

Console