mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-25 21:09:06 +02:00
fix up padding on small buttons, add button examples
This commit is contained in:
@@ -967,7 +967,7 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
</pre>
|
||||
|
||||
<h3>Textarea</h3>
|
||||
<p>Form control which supports multiple lines of text. Change <code>rows</code> attribute as necessary.</p>
|
||||
<p>Form control which supports multiple lines of text. Change <code>row</code> attribute as necessary.</p>
|
||||
<form class="bs-docs-example form-inline">
|
||||
<textarea rows="3"></textarea>
|
||||
</form>
|
||||
@@ -1445,6 +1445,10 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<button type="button" class="btn btn-large btn-primary">Primary action</button>
|
||||
<button type="button" class="btn btn-large">Action</button>
|
||||
</p>
|
||||
<p>
|
||||
<button type="button" class="btn btn-primary">Primary action</button>
|
||||
<button type="button" class="btn">Action</button>
|
||||
</p>
|
||||
<p>
|
||||
<button type="button" class="btn btn-small btn-primary">Primary action</button>
|
||||
<button type="button" class="btn btn-small">Action</button>
|
||||
@@ -1457,6 +1461,7 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<pre class="prettyprint linenums">
|
||||
<button class="btn btn-large" type="button">Large button</button>
|
||||
<button class="btn btn-small" type="button">Small button</button>
|
||||
<button class="btn" type="button">Default button</button>
|
||||
<button class="btn btn-mini" type="button">Mini button</button>
|
||||
</pre>
|
||||
<p>Create block level buttons—those that span the full width of a parent— by adding <code>.btn-block</code>.</p>
|
||||
@@ -1740,6 +1745,7 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<a class="btn" href="#"><i class="icon-align-right"></i></a>
|
||||
<a class="btn" href="#"><i class="icon-align-justify"></i></a>
|
||||
</div>
|
||||
<br><br>
|
||||
<div class="btn-group">
|
||||
<a class="btn btn-primary" href="#"><i class="icon-user icon-white"></i> User</a>
|
||||
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
|
||||
@@ -1751,6 +1757,8 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<li><a href="#"><i class="i"></i> Make admin</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<br><br>
|
||||
<a class="btn btn-small" href="#"><i class="icon-star"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user