mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Improve doc for block level buttons
This commit is contained in:
parent
41253fb073
commit
7b7a02542b
@ -1500,11 +1500,14 @@ For example, <code>section</code> should be wrapped as inline.
|
||||
<p>Create block level buttons—those that span the full width of a parent— by adding <code>.btn-block</code>.</p>
|
||||
<div class="bs-docs-example">
|
||||
<div class="well" style="max-width: 400px; margin: 0 auto 10px;">
|
||||
<button type="button" class="btn btn-large btn-primary btn-block">Block level button</button>
|
||||
<button type="button" class="btn btn-large btn-block btn-primary">Block level button</button>
|
||||
<button type="button" class="btn btn-large btn-block">Block level button</button>
|
||||
</div>
|
||||
</div>
|
||||
<pre class="prettyprint linenums"><button class="btn btn-large btn-block" type="button">Block level button</button></pre>
|
||||
<pre class="prettyprint linenums">
|
||||
<button class="btn btn-large btn-block btn-primary" type="button">Block level button</button>
|
||||
<button class="btn btn-large btn-block" type="button">Block level button</button>
|
||||
</pre>
|
||||
|
||||
|
||||
<h2>Disabled state</h2>
|
||||
|
7
docs/templates/pages/base-css.mustache
vendored
7
docs/templates/pages/base-css.mustache
vendored
@ -1437,11 +1437,14 @@
|
||||
<p>{{_i}}Create block level buttons—those that span the full width of a parent— by adding <code>.btn-block</code>.{{/i}}</p>
|
||||
<div class="bs-docs-example">
|
||||
<div class="well" style="max-width: 400px; margin: 0 auto 10px;">
|
||||
<button type="button" class="btn btn-large btn-primary btn-block">{{_i}}Block level button{{/i}}</button>
|
||||
<button type="button" class="btn btn-large btn-block btn-primary">{{_i}}Block level button{{/i}}</button>
|
||||
<button type="button" class="btn btn-large btn-block">{{_i}}Block level button{{/i}}</button>
|
||||
</div>
|
||||
</div>
|
||||
<pre class="prettyprint linenums"><button class="btn btn-large btn-block" type="button">{{_i}}Block level button{{/i}}</button></pre>
|
||||
<pre class="prettyprint linenums">
|
||||
<button class="btn btn-large btn-block btn-primary" type="button">{{_i}}Block level button{{/i}}</button>
|
||||
<button class="btn btn-large btn-block" type="button">{{_i}}Block level button{{/i}}</button>
|
||||
</pre>
|
||||
|
||||
|
||||
<h2>{{_i}}Disabled state{{/i}}</h2>
|
||||
|
Loading…
Reference in New Issue
Block a user