Bootstrap 3 Tutorial
In Bootstrap, you may group a sequence of buttons together (on a single line) in a button group.
To build a button group, use a <div> element with the class .btn-group.
Tip: Rather than applying button sizes to all buttons in a group, use class. To size all buttons in the group, use .btn-group-lg|sm|xs.
Bootstrap supports four button sizes:
Bootstrap also allows vertical button groups:
To build a vertical button group, use the class .btn-group-vertical.
Use button groups to construct dropdown menus:
CodingAsk.com is designed for learning and practice. Examples may be made simpler to aid understanding. Tutorials, references, and examples are regularly checked for mistakes, but we cannot guarantee complete accuracy. By using CodingAsk.com, you agree to our terms of use, cookie, and privacy policy.
Copyright 2010-2024 by Refsnes Data. All Rights Reserved.