diff options
| author | Mark Otto <[email protected]> | 2012-12-26 14:13:44 -0600 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-12-26 14:13:44 -0600 |
| commit | 12b738bf302699a51721d030465e07f76de72bf9 (patch) | |
| tree | 5c5111be720c66be5a56c3b9c6a8675b6e5abde7 /docs/css.html | |
| parent | 070109abc1624808873e6e172ff97d27eb05c406 (diff) | |
| download | bootstrap-12b738bf302699a51721d030465e07f76de72bf9.tar.xz bootstrap-12b738bf302699a51721d030465e07f76de72bf9.zip | |
Add grid column example to form input sizing
Diffstat (limited to 'docs/css.html')
| -rw-r--r-- | docs/css.html | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/docs/css.html b/docs/css.html index db7cb17e2..b23119f8d 100644 --- a/docs/css.html +++ b/docs/css.html @@ -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> |
