Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

HTML

            
              <div class="off-canvas-wrap" data-offcanvas>
  <div class="inner-wrap">
    <aside class="left-off-canvas-menu">
      <ul class="off-canvas-list">
        <li><a href="#">Home</a></li>
        <li><a href="#">Home</a></li>
        <li><a href="#">Yes I know I'm lazy when it comes to dummy menu items</a></li>
      </ul>
    </aside>
    <div class="icon-bar five-up">
      <a class="item left-off-canvas-toggle">
        <img src="https://foundation.zurb.com/assets/img/icons/footer-foundation-retina.png">
        <label>Off Canvas Menu</label>
      </a>
      <a class="item">
        <img src="https://foundation.zurb.com/assets/img/icons/footer-foundation-retina.png">
        <label>A random icon button</label>
      </a>
      <a class="item">
        <img src="https://foundation.zurb.com/assets/img/icons/footer-foundation-retina.png">
        <label>And another one</label>
      </a>
      <a class="item">
        <img src="https://foundation.zurb.com/assets/img/icons/footer-foundation-retina.png">
        <label>Three</label>
      </a>
      <a class="item">
        <img src="https://foundation.zurb.com/assets/img/icons/footer-foundation-retina.png">
        <label>Don't click me</label>
      </a>
    </div>
    <div class="row">
      <h1>Example of Off Canvas Navigation with Icon Bar Navigation</h1>
      <h3>This is an example of off canvas navigation and icon bar navigation from <a href="https://foundation.zurb.com/">Foundation by ZURB</a> fused together.</h3>
      <h4>Take a look at the code to get an idea on how to use it.</h4>
    </div>
    <a class="exit-off-canvas"></a>
  </div>
</div>
            
          
!

CSS

            
              h1, h3, h4 {
  font-family: 'Open Sans';
}
            
          
!

JS

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

Console