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">
    
    <div class="inner-wrap">
      
      <nav class="top-bar" data-topbar>
      
        <section class="top-bar-section">
          
          <ul class="left">
            <li><a class="left-off-canvas-toggle menu-icon" href="#"><span></span></a></li>
            <li><a class="sections left-off-canvas-toggle" href="#">Sections</a></li>
          </ul>

          <ul class="right show-for-medium-up">
            <li class="active"><a href="#">Right Button Active</a></li>
            <li class="has-dropdown"><a href="#">Right Button Dropdown</a>
              <ul class="dropdown">
                <li><a href="#">First link in dropdown</a></li>
              </ul>
            </li>
          </ul>

        </section>
    
      </nav>
      
      <aside class="left-off-canvas-menu">
        
        <ul class="off-canvas-list">
          <li><label>Users</label></li>
          <li><a href="#">Hari Seldon</a></li>
          <li><a href="#">R. Giskard Reventlov</a></li>
          <li><a href="#">R. Daneel Olivaw</a></li>
          <li><a href="#">The Mule</a></li>
          <li><a href="#">Dors Venabili</a></li>
          <li><a href="#">Yugo Amaryl</a></li>
          <li><a href="#">The Mule</a></li>
          <li><a href="#">Emperor Cleon I</a></li>
          <li><a href="#">Gaal Dornick</a></li>
          <li><a href="#">Bel Riose</a></li>
          <li><a href="#">Salvor Hardin</a></li>
          <li><a href="#">Bel Riose</a></li>
        </ul>
      
      </aside>
      
      <section class="main-section">
        <h1>Test</h1>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Autem mollitia perferendis ab quis labore dicta reprehenderit iste saepe nobis sit iure eum ipsam quas a architecto consectetur placeat cum quisquam.</p>
        <br /><br /><br /><br /><br />
      </section>
      
      <a class="exit-off-canvas"></a>
    
    </div>
  
  </div>
            
          
!

CSS

            
              html, body, .off-canvas-wrap, .inner-wrap, .main-section {
  min-height: 100%;
}

meta.foundation-mq-topbar {
  font-family: "/only screen and (min-width:0px)/";
  width: 0px;
}

meta.foundation-mq-topbar {
  font-family: "/only screen and (min-width:0px)/";
  width: 0px; 
}

.top-bar {
  overflow: visible;
}

.top-bar .title-area {
  float: left;
}

.top-bar-section {
  left: 0px !important;
}

.top-bar-section ul li {
  float: left;
}

.top-bar-section ul {
  width: auto;
  height: auto !important;
  display: inline;
}

a.menu-icon {
  text-indent: 2.1875rem;
  width: 2.8125rem;
  height: 2.8125rem;
  display: block;
  line-height: 2.0625rem;
  padding: 0px;
  color: #FFF;
  position: relative;
}

@media only screen and (max-width: 40em) {
  a.menu-icon {
    padding: 0 15px 0 15px !important;
  }
  a.sections {
    padding: 13px 15px 12px 15px !important;
  }
}

a.menu-icon span {
  position: relative;
  top: 5px;
  display: block;
  width: 1rem;
  height: 0px;
  box-shadow: 0px 10px 0px 1px #FFF, 0px 16px 0px 1px #FFF, 0px 22px 0px 1px #FFF;
}

            
          
!

JS

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

Console