Bootstrap snippet and html example. menu widget with collapse panels

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.
Tags: menu,panel

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.1.1 included, to get the result that you can see in the preview selection

<link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css">
<div class="container bootdey">
<div ng-app="myApp">
  <div ng-controller="ctrlApp" id="myApp">
    
    <div class="alerts" ng-shw="noty.queue.length>0">
      <div class="alert  alert-dismissable fade in pull-right" ng-repeat="m in noty.queue">
        <button type="button" class="close" data-dismiss="alert">×</button>
      </div>
    </div>

    <!--breadcrumb-->
    <div class="container-fluid">
      <ol class="breadcrumb">
        <li><a href="#">Home</a></li>
        <li><a href="#">Category</a></li>
        <li class="active">Sub-section</li>
      </ol>
    </div>
    <!--/breadcrumb-->
    
    <!--big icon bar-->
    <div class="container-fluid">
      <ul class="nav nav-justified" id="iconbar">
        <li><a class="text-center color-1" href="#"><i class="fa fa-tag fa-5x"></i> <br>Tags</a></li>
        <li><a class="text-center color-2" href="#"><i class="fa fa-bookmark fa-5x"></i> <br>Tasks</a></li>
        <li><a class="text-center color-3" href="#"><i class="fa fa-camera fa-5x"></i> <br>Photos</a></li>
        <li><a class="text-center color-4" href="#"><i class="fa fa-map-marker fa-5x"></i> <br>Tour</a></li>
        <li><a class="text-center color-5" href="#"><i class="fa fa-music fa-5x"></i> <br>Tunes</a></li>
        <li><a class="text-center color-6" href="#"><i class="fa fa-book fa-5x"></i> <br>Books</a></li>
        <li><a class="text-center color-7" href="#"><i class="fa fa-film fa-5x"></i> <br>Videos</a></li>
      </ul>
    </div>
    <!--/big icon bar-->
    
    <hr>

    <!--example panels-->
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-6">
            
               <!--panel-->
               <div class="panel panel-default">
                <div class="panel-heading" data-toggle="collapse" data-target="#collapse1">
                  <h3 class="panel-title">
                    Collapsible Panel
                  </h3>
                </div>
                <div id="collapse1" class="collapse">
                  <div class="panel-body">
                      <blockquote>
                        <p>"Click my heading to make me collapse"</p>
                      </blockquote>
                      <button class="btn btn-default pull-right" id="btn1">Button</button>
                  </div>
                </div>
              </div><!--/panel-->
              
              <!--panel-->
              <div class="panel panel-default">
                <div class="panel-heading collapsed" data-toggle="collapse" data-target="#collapseList">
                  <h3 class="panel-title">
                    Collapsible List Group
                  </h3>
                </div>
                <ul id="collapseList" class="list-group collapse">
                   <li class="list-group-item">Dey-Dey</li>
                   <li class="list-group-item">Triveo</li>
                   <li class="list-group-item">Behance</li>
                </ul>
              </div><!--/panel-->

            </div><!--/col-->
            <div class="col-sm-6">
          
               <!--panel-->
               <div class="panel panel-default">
                <div class="panel-heading collapsed" data-toggle="collapse" data-target="#collapse2">
                  <h3 class="panel-title">
                    Collapsed Panel
                  </h3>
                </div>
                <div id="collapse2" class="collapse">
                  <div class="panel-body">
                      <blockquote>
                        <p>"Click my heading to toggle me"</p>
                      </blockquote>
                      
                      <p>Wow, that's clever!</p>
                  </div>
                </div>
              </div><!--/panel-->
              
              <!--panel-info-->
              <div class="panel panel-info">
                <div class="panel-heading collapsed" data-toggle="collapse" data-target="#collapse3">
                  <h3 class="panel-title">
                    Collapsed Panel (info)
                  </h3>
                </div>
                <div id="collapse3" class="collapse">
                  <div class="panel-body">
                    <blockquote>
                        <p>"Click my heading to toggle me"</p>
                    </blockquote>
                      
                    <p>This panel has the <code>panel-info</code> context.</p>
                  </div>
                </div>
              </div>
            </div>
        </div>
    </div>
   </div>
</div>
</div>
                                        

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.1.1 included, to get the result that you can see in the preview selection

body{
background:#eee;
}
.color-1{
color:#0000FF;
}
.color-2{
color:#FF8C00;
} 
.color-3{
color:#FF1493;
}  
.color-4{
color:#7CFC00;
}   
.color-5{
color:#00FA9A;
}  
.color-6{
color:#8A2BE2;
}  
.color-7{
color:#00FFFF;
}  

Similar snippets

Bootstrap example and template. show hide top menu

show hide top menu

Bootstrap example and template. news feed sidebaser with online users

news feed sidebaser with online users

Bootstrap example and template. bs4 new friends panel

bs4 new friends panel

Bootstrap example and template. Profile page

Profile page

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. events card widget

events card widget

Bootstrap example and template. single price plan

single price plan

Bootstrap example and template. Blog Comments With Form

Blog Comments With Form

Bootstrap example and template. menu widget with collapse panels

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 11.3K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.1.1

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.1.1 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working