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.

            
              <!-- TABS FRAME -->
<section class="tabs-frame">
  <!-- TAB 1 -->
  <article class="tab">
    <input type="radio" id="tab_1" class="radio" name="tab_group_1" />
    <label for="tab_1" class="tab-button"></label>
    <section id="tab_frame_1" class="tab-frame">
      <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.</p>
    </section>
  </article>
  <!-- TAB 2 -->
  <article class="tab">
    <input type="radio" id="tab_2" class="radio" name="tab_group_1" />
    <label for="tab_2" class="tab-button"></label>
    <section id="tab_frame_2" class="tab-frame">
      <p>In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus.</p>
    </section>
  </article>
  <!-- TAB 3 -->
  <article class="tab">
    <input type="radio" id="tab_3" class="radio" name="tab_group_1" checked />
    <label for="tab_3" class="tab-button"></label>
    <section id="tab_frame_3" class="tab-frame">
      <p>Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc,</p>
    </section>
  </article>
  <!-- TAB 4 -->
  <article class="tab">
    <input type="radio" id="tab_4" class="radio" name="tab_group_1" />
    <label for="tab_4" class="tab-button"></label>
    <section id="tab_frame_4" class="tab-frame">
      <p>Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem.</p>
      <p>Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero. Fusce vulputate eleifend sapien.</p>
    </section>
  </article>
  <!-- TAB 5 -->
  <article class="tab">
    <input type="radio" id="tab_5" class="radio" name="tab_group_1" />
    <label for="tab_5" class="tab-button"></label>
    <section id="tab_frame_5" class="tab-frame">
      <p>Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem.</p>
    </section>
  </article>
</section>
            
          
!
            
              body {
  background: #CCD1D9;
  
  font-family: 'Helvetica', Arial, sans-serif;
  font-size: 80%;
  color: #333;
  text-align: justify;
  line-height: normal;
  
  -webkit-font-smoothing: antialiased;
}
::selection { background: transparent; }
/* TABS FRAME */
.tabs-frame {
  position: absolute;
  top: -25%; left: 0; right: 0; bottom: 0;
  width: 250px; height: 50px; /* ADD 50px TO WIDTH FOR EVERY TAB */
  margin: auto;
  display: block;
}
/* TABS */
.tabs-frame .tab {
  position: relative;
  float: left;
  width: 50px; height: 50px;
  display: block;
}
/* TABS RADIO */
.tabs-frame .tab .radio { display: none; }
.tabs-frame .tab .tab-button {
  cursor: pointer;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 15px; height: 15px;
  margin: auto;
  border-radius: 100%;
  border: 0 double #FFF;
  background: #FFF;
  display: block;
  
  -webkit-transition: .15s linear;
}
.tabs-frame .tab .radio:checked + .tab-button {
  border: 6px double #FFF;
  background: #FC6E51;
}
.tabs-frame .tab .tab-button:hover {
  background: #FC6E51;
}
/* TABS FRAME */
.tabs-frame .tab .tab-frame {
  position: absolute;
  top: 100%; left: -126px;
  width: 300px;
  border-radius: 5px;
  background: #FFF;
  display: block;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .3);
  
  -webkit-transition: opacity .3s linear,
                      -webkit-transform .3s linear;
  
  -webkit-transform: rotate(-45deg) translate(25%, -25%);
}
.tabs-frame .tab .tab-frame:before {
  content: '';
  position: absolute;
  top: -6px; left: 0; right: 0;
  width: 0; height: 0;
  margin: auto;
  border-width: 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent #FFF;
  display: block;
}
.tabs-frame .tab .radio:checked ~ .tab-button ~ .tab-frame {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  
  -webkit-transform: rotate(0deg) translate(0, 0);  
}
.tabs-frame .tab .tab-frame p {
  padding: 0 20px; margin: 20px 0;
}
            
          
!
999px
Loading ..................

Console