Add to Cart Buttons
为表单、对话框等操作定制的按钮样式。
Bootstrap Docs
Market buttons
Download on theApp StoreDownload on theGoogle PlayDownload on theWindows StoreOrder now atAmazon.com
<!-- App Store button -->
<a href="#" class="btn-market btn-apple" role="button">
<span class="btn-market-subtitle">Download on the</span>
<span class="btn-market-title">App Store</span>
</a>
<!-- Google Play button -->
<a href="#" class="btn-market btn-google" role="button">
<span class="btn-market-subtitle">Download on the</span>
<span class="btn-market-title">Google Play</span>
</a>
<!-- Windows store button -->
<a href="#" class="btn-market btn-windows" role="button">
<span class="btn-market-subtitle">Download on the</span>
<span class="btn-market-title">Windows Store</span>
</a>
<!-- Amazon button -->
<a href="#" class="btn-market btn-amazon" role="button">
<span class="btn-market-subtitle">Order now at</span>
<span class="btn-market-title">Amazon.com</span>
</a> // App Store button
a(href="#", role="button").btn-market.btn-apple
span.btn-market-subtitle Download on the
span.btn-market-title App Store
// Google Play button
a(href="#", role="button").btn-market.btn-google
span.btn-market-subtitle Download on the
span.btn-market-title Google Play
// Windows store button
a(href="#", role="button").btn-market.btn-windows
span.btn-market-subtitle Download on the
span.btn-market-title Windows Store
// Amazon button
a(href="#", role="button").btn-market.btn-amazon
span.btn-market-subtitle Order now at
span.btn-market-title Amazon.com
Sizes
<!-- Large solid button -->
<button type="button" class="btn btn-primary btn-lg">Large button</button>
<!-- Normal solid button -->
<button type="button" class="btn btn-primary">Normal button</button>
<!-- Small solid button -->
<button type="button" class="btn btn-primary btn-sm">Small button</button>
<!-- Large outline button -->
<button type="button" class="btn btn-outline-primary btn-lg">Large button</button>
<!-- Normal outline button -->
<button type="button" class="btn btn-outline-primary">Normal button</button>
<!-- Small outline button -->
<button type="button" class="btn btn-outline-primary btn-sm">Small button</button>
<!-- Block solid button -->
<button type="button" class="btn btn-primary d-block w-100">Block level button</button>
<!-- Block outline button -->
<button type="button" class="btn btn-outline-primary d-block w-100">Block level button</button> // Large solid button
button(type="button").btn.btn-primary.btn-lg Large button
// Normal solid button
button(type="button").btn.btn-primary Normal button
// Small solid button
button(type="button").btn.btn-primary.btn-sm Small button
// Large outline button
button(type="button").btn.btn-outline-primary.btn-lg Large button
// Normal outline button
button(type="button").btn.btn-outline-primary Normal button
// Small outline button
button(type="button").btn.btn-outline-primary.btn-sm Small button
// Block solid button
button(type="button").btn.btn-primary.d-block.w-100 Block level button
// Block outline button
button(type="button").btn.btn-outline-primary.d-block.w-100 Block level button