Use any of the available button classes to quickly create a styled button.
Fancy larger or smaller buttons? Add
.btn-xs for additional sizes.
Create block level buttons—those that span the full width of a parent— by adding
Use the button classes on an
As a best practice, we highly recommend using the
<button> element whenever possible to ensure matching cross-browser rendering.
Among other things, there's a Firefox bug that prevents us from setting the
<input>-based buttons, causing them to not exactly match the height of other buttons on Firefox.