Pen Settings



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


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.


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.


                <div class="grid-container grid-container-padded">
  <div class="grid-x grid-margin-x">
    <div class="cell">
      <h3>Flexbox Utilities: Vertical Alignment (Self Alignment)</h3>
<div class="grid-container grid-container-padded grid--demo">
  <div class="grid-x grid-padding-x">
    <div class="cell small-3 align-self-bottom"><div class="demo">Align bottom</div></div>
    <div class="cell small-3 align-self-middle"><div class="demo">Align middle</div></div>
    <div class="cell small-3 align-self-stretch"><div class="demo">Align stretch</div></div>
    <div class="cell small-3 align-self-top"><div class="demo">Align top. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Non harum laborum cum voluptate vel, eius adipisci similique dignissimos nobis at excepturi incidunt fugit molestiae quaerat, consequuntur porro temporibus. Nisi, ex?</div></div>


                // Foundation Colors
$primary-color : #1779ba;
$secondary-color : #767676;
$success-color : #3adb76;
$warning-color : #ffae00;
$alert-color : #cc4b37;
$light-gray: #e6e6e6;
$medium-gray: #cacaca;
$dark-gray: #8a8a8a;
$black: #0a0a0a;
$white: #fefefe;

// demo css 
body {padding-top: 15px;}
.grid--demo {
  margin-top: 5px;
  .grid-y {
    background: lighten($primary-color, 50%);
    font-size: 12px;
    line-height: 2rem;
    margin-bottom: 1.5rem;

  .grid-y .grid-x {
    margin-bottom: 0;

  .cell {
    &:nth-child(odd) {
      background: lighten($primary-color, 30%);
      color: $black;
    &:nth-child(even) {
      background: $primary-color;
      color: $white;