mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-29 06:49:06 +02:00
fix up padding on small buttons, add button examples
This commit is contained in:
8
docs/templates/pages/base-css.mustache
vendored
8
docs/templates/pages/base-css.mustache
vendored
@@ -1382,6 +1382,10 @@
|
||||
<button type="button" class="btn btn-large btn-primary">{{_i}}Primary action{{/i}}</button>
|
||||
<button type="button" class="btn btn-large">{{_i}}Action{{/i}}</button>
|
||||
</p>
|
||||
<p>
|
||||
<button type="button" class="btn btn-primary">{{_i}}Primary action{{/i}}</button>
|
||||
<button type="button" class="btn">{{_i}}Action{{/i}}</button>
|
||||
</p>
|
||||
<p>
|
||||
<button type="button" class="btn btn-small btn-primary">{{_i}}Primary action{{/i}}</button>
|
||||
<button type="button" class="btn btn-small">{{_i}}Action{{/i}}</button>
|
||||
@@ -1394,6 +1398,7 @@
|
||||
<pre class="prettyprint linenums">
|
||||
<button class="btn btn-large" type="button">{{_i}}Large button{{/i}}</button>
|
||||
<button class="btn btn-small" type="button">{{_i}}Small button{{/i}}</button>
|
||||
<button class="btn" type="button">{{_i}}Default button{{/i}}</button>
|
||||
<button class="btn btn-mini" type="button">{{_i}}Mini button{{/i}}</button>
|
||||
</pre>
|
||||
<p>{{_i}}Create block level buttons—those that span the full width of a parent— by adding <code>.btn-block</code>.{{/i}}</p>
|
||||
@@ -1677,6 +1682,7 @@
|
||||
<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> {{_i}}User{{/i}}</a>
|
||||
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><span class="caret"></span></a>
|
||||
@@ -1688,6 +1694,8 @@
|
||||
<li><a href="#"><i class="i"></i> {{_i}}Make admin{{/i}}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<br><br>
|
||||
<a class="btn btn-small" href="#"><i class="icon-star"></i></a>
|
||||
</div>
|
||||
</div>{{! /bs-docs-example }}
|
||||
|
||||
|
Reference in New Issue
Block a user