We can group a series of buttons together using button groups.
In this example with group three buttons together.
Home company and contact in order to create a button group.
We need to create a div element and give it a button group.
Class inside our container.
We can see here that we have a div element with two classes button group and button group large the
button group large specifies the size of the button
the individual button elements are then nested into the div.
We can see that this group has three buttons each with a button and button primary class is defined
we can size the button group by adding a button group large or button group extra small class to the
div.
This particular group has the button group large class
this group over here is identical except that it has the button group extra small class so you can see
that the first group the button style is larger and in the second it's small
button groups can be laid out horizontally or vertically.
In this example we currently have them horizontally we can change from horizontal to vertical by adding
the word vertical to our button group class
and after saving and refreshing the page you can see that the button group is now vertically styled.