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="grid-container">
  <div class="grid-x">
    <div class="cell">
      <h2>Nested</h2>
      <p>To use one Equalizer inside another, each container needs a unique ID, assigned with the <code>data-equalizer</code> attribute. Each <code>data-equalizer-watch</code> element should then have a value that matches its parent.</p>
      <p>In the below example, the first set of Equalizer elements have the value foo, while the inside elements have the value bar. In the live example, we've also set the <code>equalizeOn</code> option to 'medium' for the parent elements, and the child Equalizer
        contained in the first div equalizes on stack, and maintains equal height.</p>
    </div>
   </div>
</div>

<div class="grid-container">
  <div class="grid-x grid-margin-x" data-equalize-on="medium" data-equalizer="foo">
    <div class="cell medium-4">
      <div class="callout" data-equalizer-watch="foo" data-equalizer="bar" data-equalize-on-stack="true">
        <h3>Parent panel</h3>
        <div class="callout" data-equalizer-watch="bar">
          <p>The three callouts in this panel will equalize, even when stacked.</p>
        </div>
        <div class="callout" data-equalizer-watch="bar">
          <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante.</p>
        </div>
        <div class="callout" data-equalizer-watch="bar">
          <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante.</p>
        </div>
      </div>
    </div>
    <div class="cell medium-4">
      <div class="callout panel" data-equalizer-watch="foo">
        <p>Where these panels will not equalize on stack, and instead equalize on medium up.</p>
      </div>
    </div>
    <div class="cell medium-4">
      <div class="callout" data-equalizer-watch="foo">
        <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante.</p>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                $(document).foundation();
              
            
!
999px

Console