mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Add grid column example to form input sizing
This commit is contained in:
parent
070109abc1
commit
12b738bf30
@ -1538,7 +1538,33 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
||||
...
|
||||
</select>
|
||||
</pre>
|
||||
<p>If you need multiple inputs on the same line, wrap them in the standard grid markup (with `.row` and `.span*` classes). Each input should have it's own column and will expand to fill the available width automatically.</p>
|
||||
<p>If you need multiple inputs on the same line, wrap them in the standard grid markup (with <code>.row</code> and <code>.span*</code> classes). Each input should have it's own column and will expand to fill the available width automatically.</p>
|
||||
<form class="bs-docs-example" style="padding-bottom: 15px;">
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
</div>
|
||||
</pre>
|
||||
|
||||
<h3>Uneditable inputs</h3>
|
||||
<p>Present data in a form that's not editable without using actual form markup.</p>
|
||||
|
28
docs/templates/pages/css.mustache
vendored
28
docs/templates/pages/css.mustache
vendored
@ -1478,7 +1478,33 @@ For example, <code>&lt;section&gt;</code> should be wrapped
|
||||
...
|
||||
</select>
|
||||
</pre>
|
||||
<p>If you need multiple inputs on the same line, wrap them in the standard grid markup (with `.row` and `.span*` classes). Each input should have it's own column and will expand to fill the available width automatically.</p>
|
||||
<p>If you need multiple inputs on the same line, wrap them in the standard grid markup (with <code>.row</code> and <code>.span*</code> classes). Each input should have it's own column and will expand to fill the available width automatically.</p>
|
||||
<form class="bs-docs-example" style="padding-bottom: 15px;">
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="row">
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
<div class="span4">
|
||||
<input type="text" placeholder=".span4">
|
||||
</div>
|
||||
</div>
|
||||
</pre>
|
||||
|
||||
<h3>Uneditable inputs</h3>
|
||||
<p>Present data in a form that's not editable without using actual form markup.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user