Buttons

Use the button classes on an <a>, <button>, or <input> element.

Link

Use any of the available button classes to quickly create a styled button.

Fancy larger or smaller buttons? Add .btn-lg, .btn-sm, or .btn-xs for additional sizes.




Create block level buttons—those that span the full width of a parent— by adding .btn-block.

Wrap a series of buttons with .btn in .btn-group.

Wrap a series of buttons with .btn in .btn-group.

Instead of applying button sizing classes to every button in a group, just add .btn-group-* to each .btn-group, including when nesting multiple groups.




Place a .btn-group within another .btn-group when you want dropdown menus mixed with a series of buttons.

Make a set of buttons appear vertically stacked rather than horizontally. Split button dropdowns are not supported here.

Make a group of buttons stretch at equal sizes to span the entire width of its parent. Also works with button dropdowns within the button group.

With <a> elements

Just wrap a series of .btns in .btn-group.btn-group-justified.


Button dropdowns work with buttons of all sizes.



Trigger dropdown menus above elements by adding .dropup to the parent.