.btn-group-vertical - a vertically stacked button group - HTML CSS Bootstrap Class List

HTML CSS examples for Bootstrap Class List:btn-group-vertical

Description

.btn-group-vertical - a vertically stacked button group

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.6/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
</head><!--from  ww w .  j  a v a  2 s. com-->
<body>

<div class="container">
  <h2>Vertical Button Group</h2>
  <p>Use the .btn-group-vertical class to create a vertical button group:</p>
  <div class="btn-group-vertical">
    <button type="button" class="btn btn-primary">A</button>
    <button type="button" class="btn btn-primary">B</button>
    <button type="button" class="btn btn-primary">C</button>
  </div>
</div>

</body>
</html>

Related Tutorials