"Nested Accordion List in Panel"
Bootstrap 3.3.0 Snippet by rameyrobo

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <div class="panel panel-default"> <div class="panel-heading">Your Title Here</div> <div class="panel-body"> <div class="accordion" id="accordion2"> <div class="accordion-group"> <div class="accordion-heading"> <button type="button" class="accordion-toggle list-group-item" data-toggle="collapse" data-parent="#accordion2" data-target="#workOne"> Section One Title </button> </div> <div id="workOne" class="accordion-body collapse"> <div class="accordion-inner"></div> Your blurb about this section title. Could be job history, or some other list. </div> </div> </div> <div class="accordion-group"> <div class="accordion-heading"> <button type="button" class="accordion-toggle list-group-item" data-toggle="collapse" data-parent="#accordion2" data-target="#workTwo"> Section Two title </button> </div> <div id="workTwo" class="accordion-body collapse"> <div class="accordion-inner"> Your blurb about this section title. Could be job history, or some other list. </div> </div> </div> <div class="accordion-group"> <div class="accordion-heading"> <button type="button" class="accordion-toggle list-group-item" data-toggle="collapse" data-parent="#accordion2" data-target="#workThree"> Section Three Title </button> </div> <div id="workThree" class="accordion-body collapse"> <div class="accordion-inner"> Your blurb about this section title. Could be job history, or some other list. </div> </div> </div> </div> </div> </div> </div> </div>
.list-group-item{ width:100%; }

Related: See More


Questions / Comments: