A button group is a collection of buttons that are grouped together (on a same line) in Bootstrap 4:
==== BUTTON MUKAVA ====
To make a button group, use a <div> element with class .btn-group:
Example
Tip: Use class .btn-group-lg for large button groups or .btn-group-sm for tiny button groups in place of applying button sizes to each button in the group:
==== BUTTON MUKAVA ====
Example
Vertical Button Groups
Vertical button groups are also supported by Bootstrap 4:
==== BUTTON MUKAVA ====
To construct a vertical button group, use the class .btn-group-vertical:
Example
Nesting Button Groups & Dropdown Menus
==== BUTTON MUKAVA ====
To create dropdown menus, nest button groups (more on dropdowns in a later chapter):