1 Buttons

Button styles can be applied to anything with the .btn class applied. However, typically you'll want to apply these to only <a> and <button> elements for the best rendering.

1.1 Base styles & states

:hover
Hover state.
:active
Active state.
.disabled
Disabled button. If you use <button> element, that is acceptable to add disabled attribute instead.
<button type="submit" class="btn btn-primary [modifier class]">Button</button>
<button type="submit" class="btn [modifier class]">Button</button>

1.2 Sizing

Fancy larger or smaller buttons? Add .btn-large, .btn-small, or .btn-mini for additional sizes.

.btn-large
Large button.
.btn-smalll
Small button.
.btn-mini
Mini button.
.btn-block
Block level button.
<button type="submit" class="btn btn-primary [modifier class]">Button</button>
<button type="submit" class="btn [modifier class]">Button</button>

1.3 Skins

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

Link
.btn-primary
Provides extra visual weight and identifies the primary action in a set of buttons.
Link
.btn-info
Used as an alternative to the default styles.
Link
.btn-success
Indicates a successful or positive action.
Link
.btn-warning
Indicates caution should be taken with this action.
Link
.btn-danger
Indicates a dangerous or potentially negative action.
Link
.btn-inverse
Alternate dark gray button, not tied to a semantic action or use.
Link
.btn-link
Deemphasize a button by making it look like a link while maintaining button behavior.
Link
<a href="#" class="btn [modifier class]">Link</a>
<button type="submit" class="btn [modifier class]">Button</button>
<input type="submit" class="btn [modifier class]" value="Input:submit" />
<input type="button" class="btn [modifier class]" value="Input:button" />