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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

              
                <div class="container">
   <div class="row">
       <div class="col-lg-12">
           <div class="tabbable">
               <ul class="nav tab-group"><!--nav-tabs nav-justified-->
                  <li class="active"><a href="#about" data-toggle="tab">About</a></li>
                  <li><a href="#social" data-toggle="tab">Social</a></li>
                  <li><a href="#location" data-toggle="tab">Location</a></li>
               </ul>
               <div class="tab-content">
                  <div class="tab-pane active" id="about">                                
                     <h3> About </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.</p>
                 </div>
                 <div class="tab-pane" id="social">                           
                     <h3> Social </h3>
                     <p>Mauris id est cursus leo consequat sagittis. Sed vel dictum dolor. Morbi massa mauris, ultricies faucibus mollis eu, convallis eu nisl. Ut nec imperdiet urna. Quisque a ornare nisl. Nulla viverra facilisis nulla nec semper. Quisque mollis posuere neque non adipiscing. Vestibulum a orci rhoncus, dictum nisl id, rutrum erat. Pellentesque sem leo, facilisis sit amet faucibus vitae, elementum vitae enim. Suspendisse semper euismod erat, vel aliquet augue iaculis quis. </p>
                 </div>
                 <div class="tab-pane" id="location">
                     <h3> Location </h3>
                     <p>Proin quis rutrum lectus, vitae elementum massa. Sed volutpat erat eros. Nunc velit mi, laoreet vel nunc sed, dapibus venenatis felis. Nam porttitor tristique sem et fermentum. Proin nec odio in leo sagittis accumsan ut et felis. Nulla facilisi. Nullam a tortor eu risus iaculis pulvinar ac non felis. In sed posuere eros. Aliquam hendrerit nulla ut massa pharetra cursus. Phasellus congue aliquet lacinia</p>
                 </div>
             </div>
         </div>
     </div> 
  </div>
  <div class="row">
    <div class="col-lg-12">
      <div class="tabbable">                                        
        <ul class="nav tab-group-vertical nav-stacked"><!--nav-tabs nav-justified-->
          <li class="active"><a href="#info" data-toggle="tab"><span class="fa fa-info-circle fa-fw fa-lg"></span> About</a></li>
          <li><a href="#share" data-toggle="tab"><span class="fa fa-share-alt fa-fw fa-lg"></span> Share</a></li>
          <li><a href="#markers" data-toggle="tab"><span class="fa fa-map-marker fa-fw fa-lg"></span> Location</a></li>
        </ul>                        
        <div class="tab-content">
          <div class="tab-pane active" id="info">                                
            <h3> About</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.</p>
          </div>
          <div class="tab-pane" id="share">                           
            <h3> Share </h3>
            <p>Mauris id est cursus leo consequat sagittis. Sed vel dictum dolor. Morbi massa mauris, ultricies faucibus mollis eu, convallis eu nisl. Ut nec imperdiet urna. Quisque a ornare nisl. Nulla viverra facilisis nulla nec semper. Quisque mollis posuere neque non adipiscing. Vestibulum a orci rhoncus, dictum nisl id, rutrum erat. Pellentesque sem leo, facilisis sit amet faucibus vitae, elementum vitae enim. Suspendisse semper euismod erat, vel aliquet augue iaculis quis. </p>
          </div>
          <div class="tab-pane" id="markers">
            <h3> Location </h3>
            <p>Proin quis rutrum lectus, vitae elementum massa. Sed volutpat erat eros. Nunc velit mi, laoreet vel nunc sed, dapibus venenatis felis. Nam porttitor tristique sem et fermentum. Proin nec odio in leo sagittis accumsan ut et felis. Nulla facilisi. Nullam a tortor eu risus iaculis pulvinar ac non felis. In sed posuere eros. Aliquam hendrerit nulla ut massa pharetra cursus. Phasellus congue aliquet lacinia</p>
          </div>
        </div>                        
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                .container {
  margin-top: 15px;
}
.tab-group,
.tab-group-vertical {
   position: relative;
   display: inline-block;
   vertical-align: middle;
   zoom: 1; /* Fix for IE7 */
   *display: inline; /* Fix for IE7 */
}

.tab-group > li, 
.tab-group-vertical > li {
    border: 1px solid #428bca;
    border-radius: 4px;
    position: relative;
    float: left;
}
.tab-group > li.active > a, 
.tab-group > li.active > a:hover, 
.tab-group > li.active > a:focus,
.tab-group-vertical > li.active > a, 
.tab-group-vertical > li.active > a:hover, 
.tab-group-vertical > li.active > a:focus {
    background-color: #428bca;
    color: #fff;
}
.tab-group > li > a,
.tab-group-vertical > li > a {
    border-radius: 0;
}
.tab-group > li > a:hover,
.tab-group-vertical > li > a:hover {
    border-radius: 4px;
}

.tab-group li + li {
    margin-left: -1px;
}

.tab-group > li:not(:first-child):not(:last-child),
.tab-group > li:not(:first-child):not(:last-child) > a:hover {
  border-radius: 0;
}
.tab-group > li:first-child,
.tab-group > li:first-child > a:hover {
    margin-left: 0;
}
.tab-group > li:first-child:not(:last-child),
.tab-group > li:first-child:not(:last-child) > a:hover {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.tab-group > li:last-child:not(:first-child),
.tab-group > li:last-child:not(:first-child) > a:hover {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.tab-group-vertical > li {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    text-align:center;
}
.tab-group-vertical > li + li {
    margin-top: -1px;
    margin-left: 0px;
}

.tab-group-vertical > li:not(:first-child):not(:last-child),
.tab-group-vertical > li:not(:first-child):not(:last-child) > a:hover {
  border-radius: 0;
}
.tab-group-vertical > li:first-child:not(:last-child),
.tab-group-vertical > li:first-child:not(:last-child) > a:hover {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.tab-group-vertical > li:last-child:not(:first-child),
.tab-group-vertical > li:last-child:not(:first-child) > a:hover {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 4px;
}
              
            
!

JS

              
                
              
            
!
999px

Console