Button-Groups¶
button-group¶
.button-group
.button-group divides the contained buttons into equally sized parts.
Here the programmatically more simple variant buttons-{n} (e.g. buttons-4 for four buttons in the group)
is availabe as well as the number as word for manual programming
(e.g. four for four buttons in the group)
<div class="button-group"> <!-- Buttons --> </div>
<div class="clearfix"> <div class="left button-group"> <!-- Buttons --> </div> <div class="right button-group"> <!-- Buttons --> </div> </div>
<div class="vertical button-group"> <!-- Buttons --> </div>
Mobile Vertical
By adding the class stackable instead of vertical the button-group becomes vertical for mobile devices up to 768px, only.
buttons¶
.buttons
.buttons divides the contained buttons into equally sized parts.
Here the programmatically more simple variant buttons-{n}
(e.g. buttons-4 for four buttons in the group)
is available as well as the number as word for manual programming
(e.g. four for four buttons in the group)
<div class="buttons-4 buttons"> <!-- buttons --> </div> <div class="four buttons"> <!-- buttons --> </div>
In order to remove the distance between the buttons, the class no-space can be complemented.
<div class="buttons-4 no-space buttons"> <!-- buttons --> </div> <div class="four no-space buttons"> <!-- buttons --> </div>
Vertical button group:
<div class="buttons-4 vertical buttons"> <!-- buttons --> </div> <div class="vertical buttons"> <!-- buttons --> </div>
and without distance:
Buttons can be vertical for smartphones as well, by assigning the class stackable to the group:
button-toolbar¶
<div class="button-toolbar"> <div class="left button-group"> <button class="primary button"> <span>primary</span> </button> <button class="secondary button"> <span>secondary</span> </button> <button class="info button"> <span>info</span> </button> </div> <div class="right button-group"> <button class="info button"> <span>primary</span> </button> <button class="default button"> <span>secondary</span> </button> <button class="default button"> <span>info</span> </button> </div> </div>
Toolbar mit .bg-inverted
Compact toolbar with less padding through &.compact