Bootstrap 基础CSS - 按钮(Buttons)
默认按钮建议只在<a>和<button>标签上应用.btn。Button class="" Description btn
Standard gray button with gradientbtn btn-primary
Provides extra visual weight and identifies the primary action in a set of buttonsbtn btn-info
Used as an alternative to the default stylesbtn btn-success
Indicates a successful or positive actionbtn btn-warning
Indicates caution should be taken with this actionbtn btn-danger
Indicates a dangerous or potentially negative actionbtn btn-inverse
Alternate dark gray button, not tied to a semantic action or usebtn btn-link
Deemphasize a button by making it look like a link while maintaining button behavior
按钮大小可以通过以下类来控制按钮大小。
<button type="button" class="btn btn-large btn-primary disabled" disabled="disabled">Primary button</button><button type="button" class="btn btn-large" disabled>Button</button>