Include list groups within any Bootstrap Panel

BootstrapWeb DevelopmentCSS Framework

To include list groups within Bootstrap panel, create a panel by adding class .panel to the <div> element.

Also, add class .panel-default to this element. Now within this panel include your list groups.


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
      <div class = "panel panel-default">
         <div class ="panel-heading">Tutorials</div>
         <div class = "panel-body">
            <p>List of tutorials</p>
         <ul class = "list-group">
            <li class = "list-group-item">C</li>
            <li class = "list-group-item">Java</li>
            <li class = "list-group-item">Ruby</li>
            <li class = "list-group-item">C++</li>
Published on 20-Jun-2018 17:12:16