"Accordion Table"
Bootstrap 3.3.0 Snippet by encryptedalpha

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <table class="table table-bordered"> <tr> <th>#</th> <th>First Name <button data-toggle="collapse" data-target=".demo"></button></th> <th>Last Name</th> <th>Username</th> </tr> <tr class="demo collapse"> <th>#</th> <th>First Name</th> <th>Last Name</th> <th>Username</th> </tr> <tr class="demo collapse"> <th scope="row">1</th> <td>Mark</td> <td>Otto</td> <td>@mdo</td> </tr> <tr> <th scope="row">2</th> <td>Jacob</td> <td>Thornton</td> <td>@fat</td> </tr> <tr> <th scope="row">3</th> <td>Larry</td> <td>the Bird</td> <td>@twitter</td> </tr> </table>

Related: See More


Questions / Comments: