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 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

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.

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="row">
<div class="large-6 columns">
</div>
  <div class="large-6 columns text-right">
   <ul id="sort-drop" class="f-dropdown f-open-dropdown text-left" data-dropdown-content="" style="position: absolute; left: 13.3281px; top: 1892.75px;" aria-hidden="false">
    <li><a href="#">Ascending</a></li>
    <li><a href="#">Descedning</a></li>
    <li><a href="#">Newest</a></li>
     <li><a href="#">Oldest</a></li>
  </ul>
    
    <a href="#" data-dropdown="sort-drop" class="tiny secondary radius button dropdown">Sort</a>
    <a class="fi-filter tiny secondary radius button" href="#">&nbsp;</a>
    <a class="fi-list-thumbnails tiny secondary radius button " href="#">&nbsp;</a>
    <a class="fi-thumbnails tiny secondary radius button" href="#">&nbsp;</a>
   
    
  
  </div>
   </div>

<div class="row">
  <!-- -------------- FIRST ITEM -------------- -->
<div class="small-12 columns cis--course-item">
<div class="row collapse">
  <div class="small-12 columns">
    
    <div class="cis--course-item__header row">
      <div class="small-12 medium-8 columns cis--course-item__titles">
        <h2>Course 001</h2>
        <h3>Introduction to Making New Courses</h3>
      </div><!-- /.columns .cis--course-item__titles-->
      <div class="small-12 medium-4 columns cis--course-item__menu">
        <div class="icon-bar five-up">
          <a class="item">
            <i class="fi-pencil"></i>
          </a>
          <a class="item">
            <i class="fi-refresh"></i>
          </a>
          <a class="item">
            <i class="fi-folder"></i>
          </a>
          <a class="item">
            <i class="fi-graph-bar"></i>
          </a>
          <a class="item">
            <i class="fi-plus"></i>
          </a>
        </div>
      </div><!-- /.columns .cis--course-item__titles-->
    </div><!-- /.row-->

    <dl class="tabs cis--tabs__horizontal" data-tab>
      <dd class="active"><a href="#panel-sections">Sections</a></dd>
      <dd><a href="#panel-content">Content</a></dd>
      <dd><a href="#panel-people">People</a></dd>
      <dd><a href="#panel-network">Network</a></dd>
    </dl>
    <div class="tabs-content cis--tab-panel__wrapper">
      <div class="content active row cis--course-item__vertical-tabs-wrapper" id="panel-sections">
        <dl class="tabs vertical cis--tabs__vertical" data-tab>
          <dd class="active"><a href="#section-tab-panel-1">2015</a></dd>
          <dd><a href="#section-tab-panel-2">2016</a></dd>
        </dl>
        <div class="tabs-content vertical">
          <div class="content active" id="section-tab-panel-1">
            <div class="row collapse">
             <div class="cis--element small-12 columns">
               <form>
               <div class="row collapse">
                 <div class="large-10 columns">
                 
                     <input type="text" placeholder="Section Name" />
               
                 </div>
                 <div class="large-2 columns">
                   <a href="#" class="button tiny expand fi-plus">&nbsp Add</a>
                 </div>
               </div>
               </form>
              </div> 
              <div class="cis--element small-12 columns">
              <div class="row cis--element__category">
                 <div class=" small-12 columns">
              <p>Spring</p>
                </div>
                <div class="cis--element__menu small-12 columns">
                  <p><a href="#">Course section 001</a></p>
                  <a href="#"><i class="fi-pencil"></i>&nbsp;</a>
                  <a href="#"><i class="fi-loop"></i>&nbsp;</a>
                  <a href="#"><i class="fi-torsos"></i>&nbsp;</a>
                  <a href="#"><i class="fi-mail"></i>&nbsp;</a>
                  <a href="#"><i class="fi-download"></i>&nbsp;</a>
                  <a href="#"><i class="fi-link"></i>&nbsp;</a>
                  <a href="#"><i class="fi-calendar"></i>&nbsp;</a>
                  <a href="#"><i class="fi-arrows-compress"></i>&nbsp;</a>
                  <a href="#"><i class="fi-page-copy"></i>&nbsp;</a>
                  <a href="#"><i class="fi-trash"></i>&nbsp;</a>
                </div>
                <div class="cis--element__menu small-12 columns">
                  <p><a href="#">Course section 002</a></p>
                  <a href="#"><i class="fi-pencil"></i>&nbsp;</a>
                  <a href="#"><i class="fi-loop"></i>&nbsp;</a>
                  <a href="#"><i class="fi-torsos"></i>&nbsp;</a>
                  <a href="#"><i class="fi-mail"></i>&nbsp;</a>
                  <a href="#"><i class="fi-download"></i>&nbsp;</a>
                  <a href="#"><i class="fi-link"></i>&nbsp;</a>
                  <a href="#"><i class="fi-calendar"></i>&nbsp;</a>
                  <a href="#"><i class="fi-arrows-compress"></i>&nbsp;</a>
                  <a href="#"><i class="fi-page-copy"></i>&nbsp;</a>
                  <a href="#"><i class="fi-trash"></i>&nbsp;</a>
                </div>
               </div>
            </div>
              
            <div class="cis--element small-12 columns">
              <div class="row cis--element__category">
                 <div class=" small-12 columns">
              <p>Fall</p>
                </div>
                <div class="cis--element__menu small-12 columns">
                  <p><a href="#">Course section 001</a></p>
                  <a href="#"><i class="fi-pencil"></i>&nbsp;</a>
                  <a href="#"><i class="fi-loop"></i>&nbsp;</a>
                  <a href="#"><i class="fi-torsos"></i>&nbsp;</a>
                  <a href="#"><i class="fi-mail"></i>&nbsp;</a>
                  <a href="#"><i class="fi-download"></i>&nbsp;</a>
                  <a href="#"><i class="fi-link"></i>&nbsp;</a>
                  <a href="#"><i class="fi-calendar"></i>&nbsp;</a>
                  <a href="#"><i class="fi-arrows-compress"></i>&nbsp;</a>
                  <a href="#"><i class="fi-page-copy"></i>&nbsp;</a>
                  <a href="#"><i class="fi-trash"></i>&nbsp;</a>
                </div>
                <div class="cis--element__menu small-12 columns">
                  <p><a href="#">Course section 002</a></p>
                  <a href="#"><i class="fi-pencil"></i>&nbsp;</a>
                  <a href="#"><i class="fi-loop"></i>&nbsp;</a>
                  <a href="#"><i class="fi-torsos"></i>&nbsp;</a>
                  <a href="#"><i class="fi-mail"></i>&nbsp;</a>
                  <a href="#"><i class="fi-download"></i>&nbsp;</a>
                  <a href="#"><i class="fi-link"></i>&nbsp;</a>
                  <a href="#"><i class="fi-calendar"></i>&nbsp;</a>
                  <a href="#"><i class="fi-arrows-compress"></i>&nbsp;</a>
                  <a href="#"><i class="fi-page-copy"></i>&nbsp;</a>
                  <a href="#"><i class="fi-trash"></i>&nbsp;</a>
                </div>
               </div>
            </div>
            
              
            </div>
          </div>
          <div class="content" id="section-tab-panel-2">
            <p>Section 2</p>
          </div>
        </div>
      </div>

      <div class="content row cis--course-item__vertical-tabs-wrapper" id="panel-content">
        <dl class="tabs vertical cis--tabs__vertical" data-tab>
          <dd class="active"><a href="#content-tab-panel-1">Content tab 1</a></dd>
          <dd><a href="#content-tab-panel-2">Content tab 2</a></dd>
        </dl>
        <div class="tabs-content vertical">
          <div class="content active" id="content-tab-panel-1">
            <p>Content 1</p>
          </div>
          <div class="content" id="content-tab-panel-2">
            <p>Content 2</p>
          </div>
        </div>
      </div>

      <div class="content row cis--course-item__vertical-tabs-wrapper" id="panel-people">
        <dl class="tabs vertical cis--tabs__vertical" data-tab>
          <dd class="active"><a href="#people-tab-panel-1">people tab 1</a></dd>
          <dd><a href="#people-tab-panel-2">people tab 2</a></dd>
        </dl>
        <div class="tabs-content vertical">
          <div class="content active" id="people-tab-panel-1">
            <p>people 1</p>
          </div>
          <div class="content" id="people-tab-panel-2">
            <p>people 2</p>
          </div>
        </div>
      </div>
      
      <div class="content cis--course-item__vertical-tabs-wrapper row" id="panel-network">
        <dl class="tabs vertical cis--tabs__vertical" data-tab>
          <dd class="active"><a href="#network-tab-panel-1">network tab 1</a></dd>
          <dd><a href="#network-tab-panel-2">network tab 2</a></dd>
        </dl>
        <div class="tabs-content vertical">
          <div class="content active" id="network-tab-panel-1">
            <p>network 1</p>
          </div>
          <div class="content" id="network-tab-panel-2">
            <p>network 2</p>
          </div>
        </div>
      </div>
      </div>
    </div><!-- /.columns -->
  </div><!-- /.row -->
</div><!-- /.columns .cis--course-item -->

<!-- -------------- END FIRST ITEM -------------- -->


 <!-- -------------- SECOND ITEM -------------- -->
<div class="small-12 columns cis--course-item">
<div class="row collapse">
  <div class="small-12 columns">
    
    <div class="cis--course-item__header row">
      <div class="small-12 medium-8 columns cis--course-item__titles">
        <h2>Course 002</h2>
        <h3>Introduction to Another Course</h3>
      </div><!-- /.columns .cis--course-item__titles-->
      <div class="small-12 medium-4 columns cis--course-item__menu">
        <div class="icon-bar five-up">
          <a class="item">
            <i class="fi-pencil"></i>
          </a>
          <a class="item">
            <i class="fi-refresh"></i>
          </a>
          <a class="item">
            <i class="fi-folder"></i>
          </a>
          <a class="item">
            <i class="fi-graph-bar"></i>
          </a>
          <a class="item">
            <i class="fi-plus"></i>
          </a>
        </div>
      </div><!-- /.columns .cis--course-item__titles-->
    </div><!-- /.row-->

    <dl class="tabs cis--tabs__horizontal" data-tab>
      <dd class="active"><a href="#panel-sections">Sections</a></dd>
      <dd><a href="#panel-content">Content</a></dd>
      <dd><a href="#panel-people">People</a></dd>
      <dd><a href="#panel-network">Network</a></dd>
    </dl>
    <div class="tabs-content cis--tab-panel__wrapper">
      <div class="content active row cis--course-item__vertical-tabs-wrapper" id="panel-sections">
        <dl class="tabs vertical cis--tabs__vertical" data-tab>
          <dd class="active"><a href="#section-tab-panel-1">2015</a></dd>
          <dd><a href="#section-tab-panel-2">2016</a></dd>
        </dl>
        <div class="tabs-content vertical">
          <div class="content active" id="section-tab-panel-1">
            <div class="row collapse">
             <div class="cis--element small-12 columns">
               <form>
               <div class="row collapse">
                 <div class="large-10 columns">
                 
                     <input type="text" placeholder="Section Name" />
               
                 </div>
                 <div class="large-2 columns">
                   <a href="#" class="button tiny expand fi-plus">&nbsp Add</a>
                 </div>
               </div>
               </form>
              </div> 
              <div class="cis--element small-12 columns">
              <div class="row cis--element__category">
                 <div class=" small-12 columns">
              <p>Spring</p>
                </div>
                <div class="cis--element__menu small-12 columns">
                  <p><a href="#">Course section 001</a></p>
                  <a href="#"><i class="fi-pencil"></i>&nbsp;</a>
                  <a href="#"><i class="fi-loop"></i>&nbsp;</a>
                  <a href="#"><i class="fi-torsos"></i>&nbsp;</a>
                  <a href="#"><i class="fi-mail"></i>&nbsp;</a>
                  <a href="#"><i class="fi-download"></i>&nbsp;</a>
                  <a href="#"><i class="fi-link"></i>&nbsp;</a>
                  <a href="#"><i class="fi-calendar"></i>&nbsp;</a>
                  <a href="#"><i class="fi-arrows-compress"></i>&nbsp;</a>
                  <a href="#"><i class="fi-page-copy"></i>&nbsp;</a>
                  <a href="#"><i class="fi-trash"></i>&nbsp;</a>
                </div>
                <div class="cis--element__menu small-12 columns">
                  <p><a href="#">Course section 002</a></p>
                  <a href="#"><i class="fi-pencil"></i>&nbsp;</a>
                  <a href="#"><i class="fi-loop"></i>&nbsp;</a>
                  <a href="#"><i class="fi-torsos"></i>&nbsp;</a>
                  <a href="#"><i class="fi-mail"></i>&nbsp;</a>
                  <a href="#"><i class="fi-download"></i>&nbsp;</a>
                  <a href="#"><i class="fi-link"></i>&nbsp;</a>
                  <a href="#"><i class="fi-calendar"></i>&nbsp;</a>
                  <a href="#"><i class="fi-arrows-compress"></i>&nbsp;</a>
                  <a href="#"><i class="fi-page-copy"></i>&nbsp;</a>
                  <a href="#"><i class="fi-trash"></i>&nbsp;</a>
                </div>
               </div>
            </div>
              
            <div class="cis--element small-12 columns">
              <div class="row cis--element__category">
                 <div class=" small-12 columns">
              <p>Fall</p>
                </div>
                <div class="cis--element__menu small-12 columns">
                  <p><a href="#">Course section 001</a></p>
                  <a href="#"><i class="fi-pencil"></i>&nbsp;</a>
                  <a href="#"><i class="fi-loop"></i>&nbsp;</a>
                  <a href="#"><i class="fi-torsos"></i>&nbsp;</a>
                  <a href="#"><i class="fi-mail"></i>&nbsp;</a>
                  <a href="#"><i class="fi-download"></i>&nbsp;</a>
                  <a href="#"><i class="fi-link"></i>&nbsp;</a>
                  <a href="#"><i class="fi-calendar"></i>&nbsp;</a>
                  <a href="#"><i class="fi-arrows-compress"></i>&nbsp;</a>
                  <a href="#"><i class="fi-page-copy"></i>&nbsp;</a>
                  <a href="#"><i class="fi-trash"></i>&nbsp;</a>
                </div>
                <div class="cis--element__menu small-12 columns">
                  <p><a href="#">Course section 002</a></p>
                  <a href="#"><i class="fi-pencil"></i>&nbsp;</a>
                  <a href="#"><i class="fi-loop"></i>&nbsp;</a>
                  <a href="#"><i class="fi-torsos"></i>&nbsp;</a>
                  <a href="#"><i class="fi-mail"></i>&nbsp;</a>
                  <a href="#"><i class="fi-download"></i>&nbsp;</a>
                  <a href="#"><i class="fi-link"></i>&nbsp;</a>
                  <a href="#"><i class="fi-calendar"></i>&nbsp;</a>
                  <a href="#"><i class="fi-arrows-compress"></i>&nbsp;</a>
                  <a href="#"><i class="fi-page-copy"></i>&nbsp;</a>
                  <a href="#"><i class="fi-trash"></i>&nbsp;</a>
                </div>
               </div>
            </div>
            
              
            </div>
          </div>
          <div class="content" id="section-tab-panel-2">
            <p>Section 2</p>
          </div>
        </div>
      </div>

      <div class="content row cis--course-item__vertical-tabs-wrapper" id="panel-content">
        <dl class="tabs vertical cis--tabs__vertical" data-tab>
          <dd class="active"><a href="#content-tab-panel-1">Content tab 1</a></dd>
          <dd><a href="#content-tab-panel-2">Content tab 2</a></dd>
        </dl>
        <div class="tabs-content vertical">
          <div class="content active" id="content-tab-panel-1">
            <p>Content 1</p>
          </div>
          <div class="content" id="content-tab-panel-2">
            <p>Content 2</p>
          </div>
        </div>
      </div>

      <div class="content row cis--course-item__vertical-tabs-wrapper" id="panel-people">
        <dl class="tabs vertical cis--tabs__vertical" data-tab>
          <dd class="active"><a href="#people-tab-panel-1">people tab 1</a></dd>
          <dd><a href="#people-tab-panel-2">people tab 2</a></dd>
        </dl>
        <div class="tabs-content vertical">
          <div class="content active" id="people-tab-panel-1">
            <p>people 1</p>
          </div>
          <div class="content" id="people-tab-panel-2">
            <p>people 2</p>
          </div>
        </div>
      </div>
      
      <div class="content cis--course-item__vertical-tabs-wrapper row" id="panel-network">
        <dl class="tabs vertical cis--tabs__vertical" data-tab>
          <dd class="active"><a href="#network-tab-panel-1">network tab 1</a></dd>
          <dd><a href="#network-tab-panel-2">network tab 2</a></dd>
        </dl>
        <div class="tabs-content vertical">
          <div class="content active" id="network-tab-panel-1">
            <p>network 1</p>
          </div>
          <div class="content" id="network-tab-panel-2">
            <p>network 2</p>
          </div>
        </div>
      </div>
      </div>
    </div>
  </div><!-- /.columns -->
</div><!-- /.row -->
</div><!-- /.columns .cis--course-item -->
<!-- -------------- END SECOND ITEM -------------- -->
</div><!-- /.row -->




              
            
!

CSS

              
                body {
  margin:0.5rem auto;
}
//colors
$cis-course-item-border:#ebebeb;
$cis-course-item-tabs-bg:#f5f5f5;
$cis-course-item-tabs-border:#ebebeb;
$cis-tabs-horizontal-border:#ebebeb;
$cis-tabs-horizontal-bg:transparent;
$cis-tabs-vertical-border:#999999;
$cis-tabs-active-bg:#f5f5f5;

.cis--tab-panel__wrapper.tabs-content > .content {
  padding:1rem;
  margin-top:-1px;
}
.cis--tab-panel__wrapper.tabs-content {
  margin:0;
}
.cis--tab-panel__wrapper.tabs-content.vertical > .content {
  padding:1rem;
}
.button > i {
  color:#fff;
}
.cis--element {
  
  border-radius:10px;
  margin:0.2rem 0;
  &__category {
    
  }
  &__menu {
    background:#fff;
    border-radius:10px;
    padding:1rem;
    margin-bottom:1rem;
  }
}
.cis--course-item {
  margin:1rem 0 0 0;
  i {
    font-size:1.5rem;
    color:#7f7f7f;
  }
  i:hover {
    color:#000;
  }
  &__header {
    border-color:$cis-tabs-horizontal-border;
    border-style:solid;
    border-width: 1px 1px 0 1px;
    border-radius:6px 6px  0 0;
  }
  &__menu {
    text-align:right;
    padding-top:1rem;
    
    i {
      font-size:1.5rem;
      color:#333;
    }
    .icon-bar {
      background:transparent;
    }
    .icon-bar > * {
      padding:0.5rem;
    }
    .icon-bar > a:hover {
      background:$cis-course-item-tabs-bg;
      border-radius:12px;
    }
    .icon-bar > a:hover i {
      color:#000;
    }
     
  }
  &__titles {
    padding:1rem;

  }
  &__vertical-tabs-wrapper {
    background:$cis-course-item-tabs-bg;
    padding:1rem;
    border-color:$cis-tabs-horizontal-border;
    border-style:solid;
    border-width: 1px 1px 1px 1px;
    border-radius:0px 0px 6px 6px;
  }
  h2 {
    font-size:1.5rem;
  }
  h3 {
    font-size:1rem;
  }
}

.tabs.cis--tabs__horizontal {
  padding-left:1rem;
  border-color:$cis-tabs-horizontal-border;
  border-style:solid;
  border-width: 0 1px 0 1px;
  dd > a, .tab-title > a {
  background-color:$cis-tabs-horizontal-bg;
  border-color:$cis-tabs-horizontal-bg;
  border-style:solid;
  border-width: 1px 1px 1px 1px;
  }
}
.tabs.cis--tabs__horizontal {
  dd.active a, .tab-title.active a {
  border-style:solid;
  background-color:$cis-tabs-active-bg;
  border-left:1px $cis-tabs-horizontal-border solid;
  border-top:1px $cis-tabs-horizontal-border solid;
  border-right:1px $cis-tabs-horizontal-border solid;
  border-bottom:1px $cis-tabs-active-bg solid;
  }
}

.tabs.cis--tabs__vertical {
  dd > a, .tab-title > a {
  background-color:$cis-tabs-active-bg;
  border-left:1px $cis-tabs-active-bg solid;
  border-top:1px $cis-tabs-active-bg solid;
  border-right:0 $cis-tabs-vertical-border solid;
  border-bottom:1px $cis-tabs-active-bg solid;
  }
}
.tabs.cis--tabs__vertical {
  dd.active a, .tab-title.active a {
  background-color:$cis-tabs-active-bg;
  margin-left:1px;
  width:100%;
  border-left:1px $cis-tabs-vertical-border solid;
  border-top:1px $cis-tabs-vertical-border solid;
  border-right:1px $cis-tabs-active-bg solid;
  border-bottom:1px $cis-tabs-vertical-border solid;
  }
}
.tabs.vertical.cis--tabs__vertical{
  padding:1rem 0;
  border-style:solid;
  border-color:$cis-tabs-vertical-border;
  background-color:$cis-tabs-active-bg;
  border-width: 0 1px 0 0;
}

              
            
!

JS

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

Console