cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

            
              <nav class="top-bar foundation-bar" data-topbar>
  <ul class="title-area">
    <li class="name">
     <span data-tooltip class="has-tip" title="Try resizing your browser to see how the grid stacks"><h1 class="show-for-small-only"><a href="#">Small screen</a></h1></span>
     <span data-tooltip class="has-tip" title="Try resizing your browser to see how the grid stacks"><h1 class="show-for-medium-only"><a href="#">Medium Screen</a></h1></span>
     <span data-tooltip class="has-tip" title="Try resizing your browser to see how the grid stacks"><h1 class="show-for-large-only"><a href="#">Large screen</a></h1></span>
    </li>
  </ul>
  <section class="top-bar-section">
    <!-- Right Nav Section -->
    <ul class="right">
      <li><a  href="https://foundation.zurb.com/docs/"  target="_blank">Foundation Docs</a></li>
      <li><a  href="https://codepen.io/ZURBFoundation/full/olduj/" target="_blank">Grid Example</a></li>
      <li><a  href="https://codepen.io/ZURBFoundation/full/vKwHa/" target="_blank">Navigation Example</a></li>
      <li><a  href="https://codepen.io/ZURBFoundation/full/AuvoL" target="_blank">Forms</a></li>
      <li class="active"><a  href="https://codepen.io/ZURBFoundation/full/fcFnq" target="_blank">Interchange</a></li>
    </ul>
  </section>
</nav>

<div class="row">
  <div class="small-12 columns">
    <br>
    <div data-alert class="alert-box radius secondary">
      <a href="https://codepen.io/ZURBFoundation/full/fcFnq/" target="_blank">Try viewing this in a separate tab and resizing your browser to see how Interchange works →</a>
    <a href="#" class="close">&times;</a>
    </div>
  </div>
</div>

<div class="row">
  <div class="small-12 medium-6 columns">
    <img data-interchange="[http://placehold.it/550x150&text=You are on a small screen, (small)], [http://placehold.it/600x200&text=You are on a medium screen, (medium)], [http://placehold.it/600x200&text=You are on a large screen, (large)]">
  </div>
  <div class="small-12 medium-6 columns">
    <img data-interchange="[https://foundation.zurb.com/docs/assets/img/examples/space-small.jpg, (small)], [https://foundation.zurb.com/docs/assets/img/examples/space-medium.jpg, (medium)], [https://foundation.zurb.com/docs/assets/img/examples/space-large.jpg, (large)]">
  </div>
</div>


            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console