Easy learning with example program codes

Bootstrap 4 Vertical Button Groups Tutorial

The .btn-group-vertical class is used to create a vertical button group.

Bootstrap 4 Vertical Button Groups Example:

<!DOCTYPE html>
<html lang="en">
  <title>Bootstrap 4 Vertical Button Groups Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="">
  <script src=""></script>
  <script src=""></script>
  <script src=""></script>
<div class="container">
  <h2>Bootstrap 4 Vertical Button Groups Example</h2>
    <div class="btn-group-vertical">
    <button type="button" class="btn btn-primary">Apple</button>
    <button type="button" class="btn btn-primary">Samsung</button>
    <button type="button" class="btn btn-primary">Sony</button>

Try it:

Bootstrap 4 Vertical Button Groups Example on

Please follow and like us:

Copyright © 2020 CodesJava Protection Status