123

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <div class="off-canvas-wrap">
  <div class="inner-wrap">
    <nav class="top-bar hide-for-medium-up" data-topbar>
      <ul class="title-area">
        <li class="name"><h1><a href="#">Foundation</a></h1></li>
        <li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>
      </ul>
      <section class="top-bar-section">
        <ul class="right">
          <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>
        <ul class="left">
          <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>
      </section>
    </nav>
    <nav class="tab-bar show-for-medium-up">
      <section class="left tab-bar-section">
        <h1 class="title">Foundation</h1>
      </section>
      <section class="right-small">
        <a class="right-off-canvas-toggle menu-icon" ><span></span></a>
      </section>
    </nav>
    <aside class="right-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 class="text-center">Offcanvas For Medium Up With Topbar For Small Only</h1>
      <div class="row">
        <h2>Put your main content here!</h2>
        <p>Bacon ipsum dolor sit amet salami kevin jowl drumstick, short ribs landjaeger tail t-bone spare ribs fatback shankle pork. Cow shoulder ham hock strip steak, tenderloin jerky shank. Bresaola swine cow beef hamburger short ribs. Pork flank tail hamburger drumstick.</p>
        <p>Bresaola short loin flank capicola pork belly corned beef. Meatball porchetta landjaeger tongue shankle, leberkas ribeye rump beef turducken tri-tip ham andouille. Kielbasa jowl ham hock, prosciutto meatball fatback t-bone porchetta shoulder pancetta pig pork turducken. Bacon prosciutto pig kevin ham ground round tongue venison pastrami andouille swine rump pork.</p>
        <p>Capicola biltong sirloin, kielbasa brisket fatback prosciutto t-bone pork belly corned beef. Boudin shankle ribeye shoulder. Swine spare ribs kevin leberkas, tail porchetta rump prosciutto meatball ball tip sausage beef ribs drumstick bresaola meatloaf. Brisket meatball shoulder, doner bacon pork chop leberkas. Tri-tip jowl short loin drumstick kevin shoulder shankle boudin jerky strip steak leberkas turkey venison flank.</p>
      </div>
    </section>
    <a class="exit-off-canvas"></a>
  </div>
</div>
            
          
!
            
              html, body, .off-canvas-wrap, .inner-wrap, .main-section {
  min-height: 100%;
}
h1, h2, p {
  font-family: 'Open Sans', sans-serif;
}
            
          
!
            
              $(document).foundation();
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console