Pen Settings



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


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


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.


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.


                <div class="column-1">
<h1>This is my first headline</h1>
<p>Lorem ipsum dolor sit amet consectetur adipiscing, elit inceptos nunc et litora, cras class id morbi viverra. Leo in hac vel sed molestie fringilla fusce orci, dis nibh pharetra quisque inceptos interdum tortor, porta parturient varius magna curae feugiat vestibulum egestas, suscipit facilisi accumsan torquent aptent lobortis. Non dictum feugiat himenaeos consequat per odio ante porta eget senectus, ac accumsan ligula laoreet vivamus sociis mollis habitasse magna, felis massa dis id malesuada donec ut pulvinar iaculis.</p></div>
<div class="column-2">
<h1>Let’s center the second even longer headline</h1>
  <img src="" width="512px" height="320px" alt="test image" />
<p> Nullam bibendum hendrerit augue, sed tempus odio sagittis nec. Ut ipsum lorem, scelerisque ac vestibulum et, tincidunt eget urna. Phasellus pellentesque nec urna id elementum. Maecenas a urna metus. Vivamus ac euismod ante. Vivamus ut risus porttitor, porttitor ligula a, maximus risus. Donec maximus vulputate mauris, vel placerat diam interdum eu. Nam tempus diam eget blandit efficitur. Etiam sed porta nisi. Donec sit amet sapien in est pellentesque sollicitudin. Donec nec erat efficitur, efficitur purus vel, vehicula odio. Fusce eget placerat massa, vel porta lacus. Proin consectetur finibus lacinia. </p>



                h1, p, img { border: solid 4px #c429c4; }
div { border: solid 4px #ffb53e; }
h1:nth-of-type(2) { text-align:center; }

.column-1 {
  float: left;
  width: 45%;
.column-2 {
  float: right;
  width: 45%;

img { display: none;}