Use the button classes on an <a>
, <button>
, or <input>
element.
Options
Use any of the available button classes to quickly create a styled button.
Sizes
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
.
Disabled state
Make buttons look unclickable by fading them back with opacity
.
Button element
Add the disabled
attribute to <button>
buttons.