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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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="container theme-plum">
  <h1>Accessible(?) and responsive tabs (tabgroups). Html and Css only</h1>
  <h2>Themed: theme-plum</h2>
  <div class="ui-tabgroup">
    <input class="ui-tab1" type="radio" id="tgroup_a_tab1" name="tgroup_a" checked />
    <input class="ui-tab2" type="radio" id="tgroup_a_tab2" name="tgroup_a" />
    <input class="ui-tab3" type="radio" id="tgroup_a_tab3" name="tgroup_a" />
    <div class="ui-tabs">
      <label class="ui-tab1" for="tgroup_a_tab1"><i class="fa fa-check-square-o"></i>To do</label>
      <label class="ui-tab2" for="tgroup_a_tab2"><i class="fa fa-puzzle-piece"></i>Features</label>
      <label class="ui-tab3" for="tgroup_a_tab3"><i class="fa fa-info-circle"></i>Usage example</label>
    </div>
    <div class="ui-panels">
      <div class="ui-tab1">
        <h3>To do:</h3>
        <ul>
          <li>Verify accessibility. Problems / solutions?</li>
          <li>Verify browser compatibility. Currently tested on:
            <ul>
              <li>Chrome 34 (Linux), Chrome 36 (Android/Windows).</li>
              <li>Firefox 27, 29, 31 (Windows / Linux).</li>
              <li>Internet Explorer 11.</li>
              <li>Opera 12 (Windows).</li>
            </ul>
          </li>
        </ul>
      </div>
      <div class="ui-tab2">
        <h3>Features:</h3>
        <ul>
          <li>No JavaScript required.</li>
          <li>Flexible. Stretches with the surrounding space and the tab content.</li>
          <li>Can handle multiple tabgroups and nested tabgroups.</li>
          <li>Retains correct tab order, between tabs and content, as well as the surrounding.</li>
          <li>Tabs can be navigated by using the arrow keys:   <ul>
              <li>left / up - moves left / up.</li>
              <li>right / down - moves right / down.</li>
            </ul>
          </li>
          <li>Responsive. Switches between standard/left tabs and the stacked full width tabs, at a specified viewport width.</li>
          <li>If there are many tabs or very long tab captions, in large screen mode the standard tabs break off in multiple rows if there is not enough of space. </li>
        </ul>
      </div>
      <div class="ui-tab3">
        <h3>Usage example</h3>
        <pre>
&lt;div class="ui-tabgroup"&gt;
  &lt;input class="ui-tab1" type="radio" id="tgroup_a_tab1" name="tgroup_a" checked /&gt;
  &lt;input class="ui-tab2" type="radio" id="tgroup_a_tab2" name="tgroup_a" /&gt;
  &lt;input class="ui-tab3" type="radio" id="tgroup_a_tab3" name="tgroup_a" /&gt;
  &lt;div class="ui-tabs"&gt;
    &lt;label class="ui-tab1" for="tgroup_a_tab1"&gt;Caption 1&lt;/label&gt;
    &lt;label class="ui-tab2" for="tgroup_a_tab2"&gt;Caption 2&lt;/label&gt;
    &lt;label class="ui-tab3" for="tgroup_a_tab3"&gt;Caption 3&lt;/label&gt;
  &lt;/div&gt;
  &lt;div class="ui-panels"&gt;
    &lt;div class="ui-tab1"&gt;
      &lt;h3&gt;Caption 1&lt;/h3&gt;
      &lt;p&gt;Lorem ipsum dolor sit amet.&lt;/p&gt;
    &lt;/div&gt;
    &lt;div class="ui-tab2"&gt;
      &lt;h3&gt;Caption 2&lt;/h3&gt;
      &lt;p&gt;Ut enim ad minim veniam.&lt;/p&gt;
    &lt;/div&gt;
    &lt;div class="ui-tab3"&gt;
      &lt;h3&gt;Caption 3&lt;/h3&gt;
      &lt;p&gt;Duis aute irure dolor.&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
        </pre>
        <p>The radio buttons require a name for keeping the individual buttons together as a group. To use multiple tabgroups, the radio button name has to be unique per each tabgroup.</p>
<p>Each radio button requires a unique id, that each corresponding label can connect to via the "for" attribute.</p>
<p>Each radio button, label and panel require a numbered class "ui-tabX", where X can be 1 to 9. (The maximum of 9 can easily be extended.)</p>
      </div>
    </div>
  </div>
  <h2>Left side tabs</h2>
  <div class="ui-tabgroup left-side icons-only">
    <input class="ui-tab1" type="radio" id="tgroup_b_tab1" name="tgroup_b" checked />
    <input class="ui-tab2" type="radio" id="tgroup_b_tab2" name="tgroup_b" />
    <input class="ui-tab3" type="radio" id="tgroup_b_tab3" name="tgroup_b" />
    <input class="ui-tab4" type="radio" id="tgroup_b_tab4" name="tgroup_b" />
    <div class="ui-tabs">
      <label class="ui-tab1" for="tgroup_b_tab1"><i class="fa fa-exchange"></i></label>
      <label class="ui-tab2" for="tgroup_b_tab2"><i class="fa fa-sort-amount-asc"></i></label>
      <label class="ui-tab3" for="tgroup_b_tab3"><i class="fa fa-caret-square-o-left"></i></label>
      <label class="ui-tab4" for="tgroup_b_tab4"><i class="fa fa-strikethrough"></i></label>
    </div>
    <div class="ui-panels">
      <div class="ui-tab1">
        <div>
          <div class="container-half">
            <h3>Tab order</h3>
            <p>Test it by navigating around using the tab key, shift tab, and the arrow keys.</p>
            <ul>
              <li><a href="#">Dummy link A</a></li>
              <li><a href="#">Dummy link B</a></li>
            </ul>
          </div>
          <div class="container-half">
            <p>A couple of dummy buttons:<br /><button>Dummy A</button> <button>Dummy B</button></p>
          </div>
        </div>
      </div>
      <div class="ui-tab2">
        <h3>Expands with content</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab3">
        <h3>Left side tabs</h3>
        <p>Just add the class "left-side" like so:<pre>&lt;div class="ui-tabgroup left-side"&gt;</pre></p>
      </div>
      <div class="ui-tab4">
        <h3>Icons only</h3>
        <p>For use in combination with left-tabs. Shrinks the tabs down to a width 50px. And due to the small space the tabs take, they are no longer adapted to smaller viewports.</p>
        <p>(Currently only available in the Plum theme.)</p>
        <p>Just add the class "icons-only" like so:<pre>&lt;div class="ui-tabgroup left-side icons-only"&gt;</pre></p>
      </div>
    </div>
  </div>
</div>
<div class="container theme-lime">
  <h2>Themed: theme-lime</h2>
  <div class="ui-tabgroup">
    <input class="ui-tab1" type="radio" id="tgroup_c_tab1" name="tgroup_c" checked />
    <input class="ui-tab2" type="radio" id="tgroup_c_tab2" name="tgroup_c" />
    <input class="ui-tab3" type="radio" id="tgroup_c_tab3" name="tgroup_c" />
    <input class="ui-tab4" type="radio" id="tgroup_c_tab4" name="tgroup_c" />
    <div class="ui-tabs">
      <label class="ui-tab1" for="tgroup_c_tab1"><i class="fa fa-list"></i>Lime Lorem</label>
      <label class="ui-tab2" for="tgroup_c_tab2"><i class="fa fa-cog"></i>Ipsum</label>
      <label class="ui-tab3" for="tgroup_c_tab3"><i class="fa fa-rocket"></i>Dolor</label>
      <label class="ui-tab4" for="tgroup_c_tab4"><i class="fa fa-cloud-upload"></i>Sit Amet</label>
    </div>
    <div class="ui-panels">
      <div class="ui-tab1">
        <h3>Lorem ipsum</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab2">
        <h3>Duis aute</h3>
        <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab3">
        <h3>Not much here</h3>
        <p>...</p>
      </div>
      <div class="ui-tab4">
        <h3>Ut enim ad minim veniam</h3>
        <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
    </div>
  </div>
  <h2>Left side tabs</h2>
  <div class="ui-tabgroup left-side">
    <input class="ui-tab1" type="radio" id="tgroup_d_tab1" name="tgroup_d" checked />
    <input class="ui-tab2" type="radio" id="tgroup_d_tab2" name="tgroup_d" />
    <input class="ui-tab3" type="radio" id="tgroup_d_tab3" name="tgroup_d" />
    <input class="ui-tab4" type="radio" id="tgroup_d_tab4" name="tgroup_d" />
    <div class="ui-tabs">
      <label class="ui-tab1" for="tgroup_d_tab1"><i class="fa fa-rocket"></i>Lime</label>
      <label class="ui-tab2" for="tgroup_d_tab2"><i class="fa fa-cog"></i>Sit Amet</label>
      <label class="ui-tab3" for="tgroup_d_tab3">Consectetur</label>
      <label class="ui-tab4" for="tgroup_d_tab4">Adipisicing</label>
    </div>
    <div class="ui-panels">
      <div class="ui-tab1">
        <h3>Lorem ipsum</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab2">
        <h3>Duis aute</h3>
        <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab3">
        <h3>Not much here</h3>
        <p>...</p>
      </div>
      <div class="ui-tab4">
        <h3>Ut enim ad minim veniam</h3>
        <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
    </div>
  </div>
</div>
<div class="container theme-cactus">
  <h2>Themed: theme-cactus</h2>
  <div class="ui-tabgroup">
    <input class="ui-tab1" type="radio" id="tgroup_c1_tab1" name="tgroup_c1" checked />
    <input class="ui-tab2" type="radio" id="tgroup_c1_tab2" name="tgroup_c1" />
    <input class="ui-tab3" type="radio" id="tgroup_c1_tab3" name="tgroup_c1" />
    <input class="ui-tab4" type="radio" id="tgroup_c1_tab4" name="tgroup_c1" />
    <div class="ui-tabs">
      <label class="ui-tab1" for="tgroup_c1_tab1"><i class="fa fa-certificate"></i>Cactus Lorem</label>
      <label class="ui-tab2" for="tgroup_c1_tab2"><i class="fa fa-list"></i>Ipsum</label>
      <label class="ui-tab3" for="tgroup_c1_tab3"><i class="fa fa-rocket"></i>Dolor Sit Amet</label>
      <label class="ui-tab4" for="tgroup_c1_tab4"><i class="fa fa-cloud-upload"></i>Consectetur</label>
    </div>
    <div class="ui-panels">
      <div class="ui-tab1">
        <h3>Lorem ipsum</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab2">
        <h3>Duis aute</h3>
        <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab3">
        <h3>Not much here</h3>
        <p>...</p>
      </div>
      <div class="ui-tab4">
        <h3>Ut enim ad minim veniam</h3>
        <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
    </div>
  </div>
  <h2>Left side tabs</h2>
  <div class="ui-tabgroup left-side">
    <input class="ui-tab1" type="radio" id="tgroup_c2_tab1" name="tgroup_c2" checked />
    <input class="ui-tab2" type="radio" id="tgroup_c2_tab2" name="tgroup_c2" />
    <input class="ui-tab3" type="radio" id="tgroup_c2_tab3" name="tgroup_c2" />
    <input class="ui-tab4" type="radio" id="tgroup_c2_tab4" name="tgroup_c2" />
    <div class="ui-tabs">
      <label class="ui-tab1" for="tgroup_c2_tab1"><i class="fa fa-list"></i>Aliqua</label>
      <label class="ui-tab2" for="tgroup_c2_tab2"><i class="fa fa-rocket"></i>Proident</label>
      <label class="ui-tab3" for="tgroup_c2_tab3"><i class="fa fa-cog"></i>Velit Esse</label>
      <label class="ui-tab4" for="tgroup_c2_tab4"><i class="fa fa-cloud-upload"></i>Minim</label>
    </div>
    <div class="ui-panels">
      <div class="ui-tab1">
        <h3>Lorem ipsum</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab2">
        <h3>Duis aute</h3>
        <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab3">
        <h3>Not much here</h3>
        <p>...</p>
      </div>
      <div class="ui-tab4">
        <h3>Ut enim ad minim veniam</h3>
        <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
    </div>
  </div>
</div>
<div class="container">
  <h2>Default theme / no theme</h2>
  <div class="ui-tabgroup">
    <input class="ui-tab1" type="radio" id="tgroup_f_tab1" name="tgroup_f" checked />
    <input class="ui-tab2" type="radio" id="tgroup_f_tab2" name="tgroup_f" />
    <input class="ui-tab3" type="radio" id="tgroup_f_tab3" name="tgroup_f" />
    <div class="ui-tabs">
      <label class="ui-tab1" for="tgroup_f_tab1"><i class="fa fa-rocket"></i>Tab 1</label>
      <label class="ui-tab2" for="tgroup_f_tab2"><i class="fa fa-cog"></i>Tab 2</label>
      <label class="ui-tab3" for="tgroup_f_tab3"><i class="fa fa-cloud-upload"></i>Tab 3</label>
    </div>
    <div class="ui-panels">
      <div class="ui-tab1">
        <h3>Lorem ipsum</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab2">
        <h3>Duis aute</h3>
        <p>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab3">
        <h3>Not much here</h3>
        <p>...</p>
      </div>
    </div>
  </div>
  <h2>Side tabs</h2>
  <div class="ui-tabgroup left-side">
    <input class="ui-tab1" type="radio" id="tgroup_e_tab1" name="tgroup_e" checked />
    <input class="ui-tab2" type="radio" id="tgroup_e_tab2" name="tgroup_e" />
    <input class="ui-tab3" type="radio" id="tgroup_e_tab3" name="tgroup_e" />
    <input class="ui-tab4" type="radio" id="tgroup_e_tab4" name="tgroup_e" />
    <input class="ui-tab5" type="radio" id="tgroup_e_tab5" name="tgroup_e" />
    <div class="ui-tabs">
      <label class="ui-tab1" for="tgroup_e_tab1"><i class="fa fa-list"></i>Tab 1</label>
      <label class="ui-tab2" for="tgroup_e_tab2"><i class="fa fa-bolt"></i>Tab 2</label>
      <label class="ui-tab3" for="tgroup_e_tab3"><i class="fa fa-cog"></i>Tab 3</label>
      <label class="ui-tab4" for="tgroup_e_tab4"><i class="fa fa-sliders"></i>Tab 4</label>
      <label class="ui-tab5" for="tgroup_e_tab5"><i class="fa fa-comments"></i>Tab 5</label>
    </div>
    <div class="ui-panels">
      <div class="ui-tab1"><h3>Number 1</h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab2"><h3>Number 2</h3>
        <p>Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliquza. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab3"><h3>Number 3</h3>
        <p>Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab4"><h3>Number 4</h3>
        <p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
      <div class="ui-tab5"><h3>Number 5</h3>
        <p>Quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur, <a href="#">a link</a>. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
      </div>
    </div>
  </div>
</div>
<div class="container theme-plum">
  <h2>Nesting</h2>
  <div class="ui-tabgroup">
    <input class="ui-tab1" type="radio" id="tgroup_a2_tab1" name="tgroup_a2" checked />
    <input class="ui-tab2" type="radio" id="tgroup_a2_tab2" name="tgroup_a2" />
    <div class="ui-tabs">
      <label class="ui-tab1" for="tgroup_a2_tab1"><i class="fa fa-rocket"></i>Nested 1</label>
      <label class="ui-tab2" for="tgroup_a2_tab2"><i class="fa fa-cloud-upload"></i>Nested 2</label>
    </div>
    <div class="ui-panels">
      <div class="ui-tab1 theme-lime">

        <h3>Nesting tabs</h3>
        <div class="ui-tabgroup left-side">
          <input class="ui-tab1" type="radio" id="tgroup_a2a_tab1" name="tgroup_a2a" checked />
          <input class="ui-tab2" type="radio" id="tgroup_a2a_tab2" name="tgroup_a2a" />
          <div class="ui-tabs">
            <label class="ui-tab1" for="tgroup_a2a_tab1"><i class="fa fa-comments"></i>Lime 1</label>
            <label class="ui-tab2" for="tgroup_a2a_tab2"><i class="fa fa-bolt"></i>Lime 2</label>
          </div>
          <div class="ui-panels">
            <div class="ui-tab1">
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
            </div>
            <div class="ui-tab2">
              <p>Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
            </div>
          </div>
        </div>

      </div>
      <div class="ui-tab2 theme-cactus">

        <h3>Nesting tabs again</h3>
        <div class="ui-tabgroup">
          <input class="ui-tab1" type="radio" id="tgroup_a2b_tab1" name="tgroup_a2b" checked />
          <input class="ui-tab2" type="radio" id="tgroup_a2b_tab2" name="tgroup_a2b" />
          <div class="ui-tabs">
            <label class="ui-tab1" for="tgroup_a2b_tab1"><i class="fa fa-cog"></i>Cactus 1</label>
            <label class="ui-tab2" for="tgroup_a2b_tab2"><i class="fa fa-list"></i>Cactus 2</label>
          </div>
          <div class="ui-panels">
            <div class="ui-tab1">
              <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
            </div>
            <div class="ui-tab2">
              <p>Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
            </div>
          </div>
        </div>

      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
a:focus,
input:focus,
button:focus {
  outline: 2px solid #BDC3C7;
}
body {
  font-family: 'Open Sans', Sans-serif;
  font-size: 13px;
  background-color: #fff;
  padding: 0;
  margin: 0;
}
pre {
  font-family: Consolas, "Courier New", Courier, monospace;
  font-size: 11px;
}
.container {
  width: 100%;
  padding: 25px 25px 0 25px;
}
.container > :last-child {
  padding-bottom: 25px;
}
.container-half {
  width: 50%;
  padding: 0 10px;
  float: left;
}
.ui-tabgroup {
  position: relative;
  display: inline-block;
  width: 100%;
}
.ui-tabgroup:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.ui-tabgroup > .ui-tabs {
  float: left;
  width: 100%;
}
.ui-tabgroup > .ui-tabs > [class^="ui-tab"] {
  position: relative;
  float: left;
  display: block;
  background-color: #fff;
  color: #b9c5c8;
  margin: 0 0 1px 0;
  padding: 9px 15px;
  cursor: pointer;
  min-width: 100%;
  min-height: 40px;
  border-width: 1px 1px 0 1px;
  border-style: solid;
  border-color: #d9e5e8;
  font-size: 13px;
  font-weight: bold;
  -webkit-transition: all 0.15s ease-in;
     -moz-transition: all 0.15s ease-in;
       -o-transition: all 0.15s ease-in;
          transition: all 0.15s ease-in;
}
.ui-tabgroup > .ui-tabs > [class^="ui-tab"] > .fa {
  padding-right: 10px;
  font-size: 15px;
}
.ui-tabgroup > input[class^="ui-tab"] {
  -webkit-appearance: none;
  -moz-appearance: none !important;
  position: relative;
  float: left;
  left: -99999px;
  padding: 0;
  margin: 0 0 0 -5px; /* FireFox hack */
  height: 0;
  width: 0;
  z-index: -100;
  overflow: hidden;
  outline: 0;
  float: left;
}
.ui-tabgroup > input.ui-tab1:focus ~ .ui-tabs > .ui-tab1,
.ui-tabgroup > input.ui-tab2:focus ~ .ui-tabs > .ui-tab2,
.ui-tabgroup > input.ui-tab3:focus ~ .ui-tabs > .ui-tab3,
.ui-tabgroup > input.ui-tab4:focus ~ .ui-tabs > .ui-tab4,
.ui-tabgroup > input.ui-tab5:focus ~ .ui-tabs > .ui-tab5,
.ui-tabgroup > input.ui-tab6:focus ~ .ui-tabs > .ui-tab6,
.ui-tabgroup > input.ui-tab7:focus ~ .ui-tabs > .ui-tab7,
.ui-tabgroup > input.ui-tab8:focus ~ .ui-tabs > .ui-tab8,
.ui-tabgroup > input.ui-tab9:focus ~ .ui-tabs > .ui-tab9 {
  text-decoration: underline;
  box-shadow: inset 0 40px 60px -40px rgba(255, 255, 255, 0.2);
}
.ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
.ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
.ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
.ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
.ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
.ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
.ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
.ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
.ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
  background-color: #fff;
  color: #4a6e78;
  position: relative;
}
.ui-tabgroup > .ui-panels > [class^="ui-tab"] {
  background-color: #fff;
  color: #4a6e78;
  border-width: 1px 0;
  border-style: solid;
  border-color: #d9e5e8;
  min-height: 200px;
  padding: 25px;
  display: none;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  float: left;
  width: 100%;
}
.ui-tabgroup.left-side > .ui-panels > [class^="ui-tab"] {
  border-width: 1px;
}
.ui-tabgroup > .ui-panels > [class^="ui-tab"]:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.ui-tabgroup > input.ui-tab1:checked ~ .ui-panels > .ui-tab1,
.ui-tabgroup > input.ui-tab2:checked ~ .ui-panels > .ui-tab2,
.ui-tabgroup > input.ui-tab3:checked ~ .ui-panels > .ui-tab3,
.ui-tabgroup > input.ui-tab4:checked ~ .ui-panels > .ui-tab4,
.ui-tabgroup > input.ui-tab5:checked ~ .ui-panels > .ui-tab5,
.ui-tabgroup > input.ui-tab6:checked ~ .ui-panels > .ui-tab6,
.ui-tabgroup > input.ui-tab7:checked ~ .ui-panels > .ui-tab7,
.ui-tabgroup > input.ui-tab8:checked ~ .ui-panels > .ui-tab8,
.ui-tabgroup > input.ui-tab9:checked ~ .ui-panels > .ui-tab9 {
    display: block;
}
.ui-tabs:not(.left-side) > .ui-panels > [class^="ui-tab"] {
  width: 100%;
}
.ui-tabgroup.left-side.icons-only > .ui-tabs {
  width: 50px;
  float: left;
}
.ui-tabgroup.left-side.icons-only > .ui-panels {
  margin-left: 50px;
}
.ui-tabgroup.left-side.icons-only > .ui-tabs > .ui-tab:first-child {
  margin: 5px 0 0 0;
}
.ui-tabgroup.left-side.icons-only > .ui-tabs > [class^="ui-tab"] {
  border-width: 2px 0 2px 2px;
  margin: 1px 0 0 0;
  width: 100%;
}

@media screen and (min-width: 639px) {
  .ui-tabgroup.left-side > .ui-tabs {
    width: 140px;
    float: left;
  }
  .ui-tabgroup.left-side > .ui-panels {
    margin-left: 140px;
  }
  .ui-tabgroup.left-side.icons-only > .ui-tabs {
    width: 50px;
    float: left;
  }
  .ui-tabgroup.left-side.icons-only > .ui-panels {
    margin-left: 50px;
  }
  .ui-tabs:not(.left-side) > .ui-panels {
    float: left;
    width: 100%;
  }
  .ui-tabgroup > .ui-tabs > [class^="ui-tab"]:first-child {
    margin: 1px 0 0 5px;
  }
  .ui-tabgroup > .ui-tabs > [class^="ui-tab"] {
    margin: 1px 0 0 1px;
    min-width: 50px;
  }
  .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:after,
  .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:after,
  .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:after,
  .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:after,
  .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:after,
  .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:after,
  .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:after,
  .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:after,
  .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:after {
    position: absolute;
    content: '';
    background-color: #fff;
    top: 38px;
    left: 0;
    width: 100%;
    height: 3px;
  }
  .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:after,
  .ui-tabgroup.left-side > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:after,
  .ui-tabgroup.left-side > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:after,
  .ui-tabgroup.left-side > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:after,
  .ui-tabgroup.left-side > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:after,
  .ui-tabgroup.left-side > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:after,
  .ui-tabgroup.left-side > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:after,
  .ui-tabgroup.left-side > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:after,
  .ui-tabgroup.left-side > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:after {
    position: absolute;
    content: '';
    background-color: #fff;
    top: 0;
    left: 138px;
    height: 100%;
    width: 3px;
  }
  .ui-tabgroup.left-side > .ui-tabs > .ui-tab:first-child {
    margin: 5px 0 0 0;
  }
  .ui-tabgroup.left-side > .ui-tabs > [class^="ui-tab"] {
    border-width: 1px 0 1px 1px;
    margin: 1px 0 0 0;
    width: 100%;
  }
}

/* --- Theme Plum --- */

.theme-plum.container,
.theme-plum .container {
  background-color: #9b59b6;
  color: #fff;
}
.theme-plum .ui-tabgroup > .ui-tabs > [class^="ui-tab"] {
  border-radius: 2px 2px 0 0;
  border: 2px solid #8e44ad;
  background-color: #8e44ad;
  color: #f3d5ff;
}
.theme-plum .ui-tabgroup.left-side > .ui-tabs > [class^="ui-tab"] {
  border-radius: 2px 2px 0 0;
}
.theme-plum .ui-tabgroup > .ui-panels > [class^="ui-tab"] {
  background-color: #612e76;
  color: #fff;
  border: 2px solid #612e76; 
}
.theme-plum .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
.theme-plum .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
.theme-plum .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
.theme-plum .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
.theme-plum .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
.theme-plum .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
.theme-plum .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
.theme-plum .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
.theme-plum .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
  background-color: #612e76;
  color: #fff;
  border: 2px solid #612e76;
}
.theme-plum .ui-tabgroup > input[class^="ui-tab"]:checked ~ .ui-tabs > [class^="ui-tab"]:after {
  content: none;
}
.theme-plum a:link,
.theme-plum a:visited,
.theme-plum a:hover,
.theme-plum a:active {
  color: #ceb4cd;
}
.theme-plum .ui-tabgroup.left-side.icons-only > .ui-tabs > [class^="ui-tab"] {
  border-radius: 2px 0 0 2px;
}
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
  min-height: 40px;
  width: 54px;
  margin-left: -4px;
  margin-top: 1px;
}
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab1 ~ .ui-tabs > .ui-tab1,
.theme-plum .ui-tabgroup.left-side.icons-only > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1 {
  margin-top: 5px;
}

@media screen and (min-width: 639px) {
  .theme-plum .ui-tabgroup.left-side > .ui-tabs > [class^="ui-tab"] {
    border-radius: 2px 0 0 2px;
  }
  .theme-plum .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
  .theme-plum .ui-tabgroup.left-side > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
  .theme-plum .ui-tabgroup.left-side > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
  .theme-plum .ui-tabgroup.left-side > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
  .theme-plum .ui-tabgroup.left-side > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
  .theme-plum .ui-tabgroup.left-side > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
  .theme-plum .ui-tabgroup.left-side > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
  .theme-plum .ui-tabgroup.left-side > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
  .theme-plum .ui-tabgroup.left-side > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
    min-height: 40px;
    width: 144px;
    margin-left: -4px;
    margin-top: 1px;
  }
  .theme-plum .ui-tabgroup.left-side > input.ui-tab1 ~ .ui-tabs > .ui-tab1,
  .theme-plum .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1 {
    margin-top: 5px;
  }
  .theme-plum .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
  .theme-plum .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
  .theme-plum .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
  .theme-plum .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
  .theme-plum .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
  .theme-plum .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
  .theme-plum .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
  .theme-plum .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
  .theme-plum .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
    min-height: 45px;
    margin-top: -4px;
  }
}

/* --- Theme Lime --- */

.theme-lime.container,
.theme-lime .container {
  background-color: #2ECC71;
  color: #fff;
}
.theme-lime .ui-tabgroup > .ui-tabs > [class^="ui-tab"] {
  border-radius: 4px 25px 0 0;
  border: 2px solid #56CE87;
  background-color: #26C771;
  color: #DBDBDB;
}
.theme-lime .ui-tabgroup > .ui-panels > [class^="ui-tab"] {
  background-color: #27AE60;
  color: #fff;
  border: 2px solid #5EcC91;
}
.theme-lime .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
.theme-lime .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
.theme-lime .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
.theme-lime .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
.theme-lime .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
.theme-lime .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
.theme-lime .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
.theme-lime .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
.theme-lime .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
  background-color: #27AE60;
  color: #fff;
  border: 2px solid #5EcC91;
}
.theme-lime .ui-tabgroup > input[class^="ui-tab"]:checked ~ .ui-tabs > [class^="ui-tab"]:after {
  content: none;
}
.theme-lime a:link,
.theme-lime a:visited,
.theme-lime a:hover,
.theme-lime a:active {
  color: #aEdCd1;
}
@media screen and (min-width: 639px) {
  .theme-lime .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
  .theme-lime .ui-tabgroup.left-side > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
  .theme-lime .ui-tabgroup.left-side > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
  .theme-lime .ui-tabgroup.left-side > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
  .theme-lime .ui-tabgroup.left-side > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
  .theme-lime .ui-tabgroup.left-side > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
  .theme-lime .ui-tabgroup.left-side > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
  .theme-lime .ui-tabgroup.left-side > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
  .theme-lime .ui-tabgroup.left-side > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
    min-height: 40px;
    width: 144px;
    margin-left: -4px;
    margin-top: 1px;
    border-width: 2px 0 2px 2px;
  }
  .theme-lime .ui-tabgroup.left-side > .ui-tabs > [class^="ui-tab"] {
    border-radius: 25px 0 0 4px;
    border-width: 2px 0 2px 2px;
  }
  .theme-lime .ui-tabgroup.left-side > input.ui-tab1 ~ .ui-tabs > .ui-tab1,
  .theme-lime .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1 {
    margin-top: 5px;
  }
  .theme-lime .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
  .theme-lime .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
  .theme-lime .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
  .theme-lime .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
  .theme-lime .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
  .theme-lime .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
  .theme-lime .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
  .theme-lime .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
  .theme-lime .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
    min-height: 45px;
    margin-top: -4px;
    border-width: 2px 2px 0 2px;
  }
  .theme-lime .ui-tabgroup:not(.left-side) > .ui-tabs > [class^="ui-tab"] {
    border-width: 2px 2px 0 2px;
  }
}

/* --- Theme Cactus --- */

.theme-cactus.container,
.theme-cactus .container {
  background-color: #1ABC9C;
  color: #fff;
}
.theme-cactus .ui-tabgroup > .ui-tabs > [class^="ui-tab"] {
  border: 2px solid #16B08C;
  background-color: #16B08C;
  color: #56E2C6;
}
.theme-cactus .ui-tabgroup > .ui-panels > [class^="ui-tab"] {
  background-color: #00796b;
  color: #fff;
  border: 10px solid #16A085;
  padding: 17px;
}
.theme-cactus .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
.theme-cactus .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
.theme-cactus .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
.theme-cactus .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
.theme-cactus .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
.theme-cactus .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
.theme-cactus .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
.theme-cactus .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
.theme-cactus .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
  background-color: #00796b;
  color: #fff;
  border: 2px solid #00796b;
}
.theme-cactus .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:after,
.theme-cactus .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:after,
.theme-cactus .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:after,
.theme-cactus .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:after,
.theme-cactus .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:after,
.theme-cactus .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:after,
.theme-cactus .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:after,
.theme-cactus .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:after,
.theme-cactus .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:after,
.theme-cactus .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:before,
.theme-cactus .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:before,
.theme-cactus .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:before,
.theme-cactus .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:before,
.theme-cactus .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:before,
.theme-cactus .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:before,
.theme-cactus .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:before,
.theme-cactus .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:before,
.theme-cactus .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:before {
  top: 39px;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  background-color: transparent;
}
.theme-cactus .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:after,
.theme-cactus .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:after,
.theme-cactus .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:after,
.theme-cactus .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:after,
.theme-cactus .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:after,
.theme-cactus .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:after,
.theme-cactus .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:after,
.theme-cactus .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:after,
.theme-cactus .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:after {
  top: 38px;
  border-color: rgba(0, 121, 107, 0);
  border-top-color: #00796b;
  border-width: 8px;
  margin-left: -8px;
  z-index: 1;
}
.theme-cactus .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:before,
.theme-cactus .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:before,
.theme-cactus .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:before,
.theme-cactus .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:before,
.theme-cactus .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:before,
.theme-cactus .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:before,
.theme-cactus .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:before,
.theme-cactus .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:before,
.theme-cactus .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:before {
  border-color: rgba(22, 160, 133, 0);
  border-top-color:  #16A085;
  border-width: 21px;
  margin-left: -21px;
}
.theme-cactus a:link,
.theme-cactus a:visited,
.theme-cactus a:hover,
.theme-cactus a:active {
  color: #aEdCd1;
}
@media screen and (min-width: 639px) {
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
    min-height: 40px;
    width: 144px;
    margin-left: -4px;
    margin-top: 1px;
  }
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab1 ~ .ui-tabs > .ui-tab1,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1 {
    margin-top: 5px;
  }
  .theme-cactus .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1,
  .theme-cactus .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2,
  .theme-cactus .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3,
  .theme-cactus .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4,
  .theme-cactus .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5,
  .theme-cactus .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6,
  .theme-cactus .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7,
  .theme-cactus .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8,
  .theme-cactus .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9 {
    min-height: 45px;
    margin-top: -4px;
  }
  .theme-cactus .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:after,
  .theme-cactus .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:after,
  .theme-cactus .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:after,
  .theme-cactus .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:after,
  .theme-cactus .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:after,
  .theme-cactus .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:after,
  .theme-cactus .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:after,
  .theme-cactus .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:after,
  .theme-cactus .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:after {
    top: 43px;
    border-width: 7px;
    margin-left: -7px;

  }
  .theme-cactus .ui-tabgroup > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:before,
  .theme-cactus .ui-tabgroup > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:before,
  .theme-cactus .ui-tabgroup > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:before,
  .theme-cactus .ui-tabgroup > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:before,
  .theme-cactus .ui-tabgroup > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:before,
  .theme-cactus .ui-tabgroup > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:before,
  .theme-cactus .ui-tabgroup > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:before,
  .theme-cactus .ui-tabgroup > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:before,
  .theme-cactus .ui-tabgroup > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:before {
    top: 43px;
  }
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:before {
    top: -3px;
    left: 143px;
    border: 21px solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    z-index: 1;
  }
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:after,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:after {
    border-color: rgba(0, 121, 107, 0);
    border-left-color: #00796b;
    border-width: 7px;
    margin-left: -1px;
    margin-top: 14px;
  }
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab1:checked ~ .ui-tabs > .ui-tab1:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab2:checked ~ .ui-tabs > .ui-tab2:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab3:checked ~ .ui-tabs > .ui-tab3:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab4:checked ~ .ui-tabs > .ui-tab4:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab5:checked ~ .ui-tabs > .ui-tab5:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab6:checked ~ .ui-tabs > .ui-tab6:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab7:checked ~ .ui-tabs > .ui-tab7:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab8:checked ~ .ui-tabs > .ui-tab8:before,
  .theme-cactus .ui-tabgroup.left-side > input.ui-tab9:checked ~ .ui-tabs > .ui-tab9:before {
    border-color: rgba(22, 160, 133, 0);
    border-left-color:  #16A085;
    border-width: 21px;
    margin-left: 0;
    z-index: 1;
  }
}

              
            
!

JS

              
                /* No JavaScript */
              
            
!
999px

Console