mirror of
https://github.com/twbs/bootstrap.git
synced 2025-07-31 19:00:23 +02:00
make button examples button element and add upgrade note on tooltip positions per #1532
This commit is contained in:
@@ -1301,23 +1301,23 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<h3>Multiple sizes</h3>
|
||||
<p>Fancy larger or smaller buttons? Add <code>.btn-large</code> or <code>.btn-small</code> for two additional sizes.</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-large btn-primary">Primary action</a>
|
||||
<a href="#" class="btn btn-large">Action</a>
|
||||
<button class="btn btn-large btn-primary">Primary action</button>
|
||||
<button class="btn btn-large">Action</button>
|
||||
</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-small btn-primary">Primary action</a>
|
||||
<a href="#" class="btn btn-small">Action</a>
|
||||
<button class="btn btn-small btn-primary">Primary action</button>
|
||||
<button class="btn btn-small">Action</button>
|
||||
</p>
|
||||
<br>
|
||||
<h3>Disabled state</h3>
|
||||
<p>For disabled buttons, use <code>.btn-disabled</code> for links and <code>:disabled</code> for <code><button></code> elements.</p>
|
||||
<p>
|
||||
<a href="#" class="btn btn-large btn-primary disabled">Primary action</a>
|
||||
<a href="#" class="btn btn-large disabled">Action</a>
|
||||
<a href="#" class="btn btn-large btn-primary disabled">Primary link</a>
|
||||
<a href="#" class="btn btn-large disabled">Link</a>
|
||||
</p>
|
||||
<p>
|
||||
<button class="btn btn-large btn-primary disabled" disabled="disabled">Primary action</button>
|
||||
<button class="btn btn-large" disabled>Action</button>
|
||||
<button class="btn btn-large btn-primary disabled" disabled="disabled">Primary button</button>
|
||||
<button class="btn btn-large" disabled>Button</button>
|
||||
</p>
|
||||
</div>
|
||||
<div class="span4">
|
||||
|
Reference in New Issue
Block a user