aboutsummaryrefslogtreecommitdiff
path: root/docs/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-12-26 14:13:44 -0600
committerMark Otto <[email protected]>2012-12-26 14:13:44 -0600
commit12b738bf302699a51721d030465e07f76de72bf9 (patch)
tree5c5111be720c66be5a56c3b9c6a8675b6e5abde7 /docs/css.html
parent070109abc1624808873e6e172ff97d27eb05c406 (diff)
downloadbootstrap-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.html28
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, &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; should be wrapped
...
&lt;/select&gt;
</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">
+&lt;div class="row"&gt;
+ &lt;div class="span4"&gt;
+ &lt;input type="text" placeholder=".span4"&gt;
+ &lt;/div&gt;
+ &lt;div class="span4"&gt;
+ &lt;input type="text" placeholder=".span4"&gt;
+ &lt;/div&gt;
+ &lt;div class="span4"&gt;
+ &lt;input type="text" placeholder=".span4"&gt;
+ &lt;/div&gt;
+&lt;/div&gt;
+</pre>
<h3>Uneditable inputs</h3>
<p>Present data in a form that's not editable without using actual form markup.</p>