Articles → BOOTSTRAP → List-Group Class In Bootstrap

List-Group Class In Bootstrap






Purpose





Example


<!DOCTYPE html>
<html>
   <head>
      <meta name="viewport" content="width=device-width, initial-scale=1">
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
      <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
   </head>
   <body>
      <div class="container">
         <ul class="list-group">
            <li class="list-group-item">item1</li>
            <li class="list-group-item">item2</li>
            <li class="list-group-item">item3</li>
         </ul>
      </div>
   </body>
</html>



Output


Picture showing the output of list-group class in bootstrap
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, October 13, 2021

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250