There are 6 button styles:
.btn-default the general button style.
.btn-primaryindicates the critical, or most important action on a form/page.
.btn-info indicates information section.
.btn-success indicates a positive action.
.btn-warning indicates an action that may have some side effects, such as giving a user admin access.
.btn-danger indicates a dangerous, generally destructive action, such as deleting.
- Link, used for non-critical actions. Useful for keeping the interface simple.
All buttons are prefixed with the
btn class. The
btn class can be applied to any element. Try to use
<button> elements when an action won’t change the URL/route, and
<a> elements when the action will change the URL/route.