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.


<ul class="no-bullet">
  <li><span class="box blue"></span> Content area</li>
  <li><span class="box gray"></span> Gutter (padding)</li>
  <li><span class="box black"></span> Column (demo border)</li>

<p>If you have just a single column, you can save some markup by combining the <code>.row</code> and <code>.column</code> classes together. This is great for creating a narrow content wrapper for things like articles and blog posts.</p>

<div class="row column">
  <span>Full width row column</span>

<p>You can still use sizing classes on these!</p>

<div class="row column medium-9 large-7">
  <span>Large-7 and medium-9 row column</span>


                // demo styles
$primary-color: #1779ba;
$secondary-color: #767676;
$light-gray: #e6e6e6;

body {
  padding: 2rem;

.row {
  background: $light-gray;
  margin-bottom: 1rem;

.columns {
  background: $secondary-color;
  border: 5px solid black;
  span {
    background: $primary-color;
    display: block;
    text-align: center;
    width: 100%;

.callout {
  background: $primary-color;
  text-align: center;

.box {
  height: 20px;
  width: 20px;
  display: inline-block;
  &.blue {
    background: $primary-color;
  &.gray {
    background: $secondary-color;
  &.black {
    background: #000;