Buttons
Button tag
The .btn
classes are designed to be
used with the <button>
element.
However, you can also use these classes on <a>
or <input>
elements (though some
browsers may apply a slightly different rendering).
Button size
Add .btn-lg
or .btn-sm
for additional sizes.
Button with icon
Basic buttons are traditional buttons with borders and background with an extra commponent like an icon. You can place it either on the left or the right which ever you want with different color opitons.
Icon only button. Add .btn-icon
class
to remove unnecessary padding from button.
Button dropdown
Wrap the dropdown’s toggle (your button or link) and the dropdown menu within
.dropdown
, or another element that
declares position: relative;
.
Dropdowns can be triggered from <a>
or <button>
elements to better fit
your potential needs.
Place a .btn-group
within another .btn-group
when you want dropdown menus mixed with a series of buttons.