Articles → BOOTSTRAP → Vertical Button Groups In Bootstrap

Vertical Button Groups In Bootstrap






Purpose





Example


<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <meta charset="utf-8" />
      <title></title>
      <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
   </head>
   <body>
      <div class="btn-group-vertical">
         <button class="btn btn-primary">Button 1</button>
         <button class="btn btn-primary">Button 2</button>
         <button class="btn btn-primary">Button 3</button>
      </div>
   </body>
</html>



Output


Picture showing the output of Vertical button groups in bootstrap
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Saturday, October 2, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250