aboutsummaryrefslogtreecommitdiff
path: root/docs/base-css.html
diff options
context:
space:
mode:
authorErik van der Kolk <[email protected]>2012-08-18 15:43:00 +0200
committerErik van der Kolk <[email protected]>2012-08-18 15:43:00 +0200
commitf37d4b0918bbcdd507c31f81d00621d03acf0248 (patch)
tree066854e888ef0a65cb30af2cd8a0d104f63e4705 /docs/base-css.html
parent01dadc05f4522250f7a06b28ce27f8a0c3a91997 (diff)
downloadbootstrap-f37d4b0918bbcdd507c31f81d00621d03acf0248.tar.xz
bootstrap-f37d4b0918bbcdd507c31f81d00621d03acf0248.zip
Add missing placeholders and <select> in Grid sizing code snippet
Diffstat (limited to 'docs/base-css.html')
-rw-r--r--docs/base-css.html15
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/base-css.html b/docs/base-css.html
index 85dab82e3..0f9cb3e6d 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -1225,9 +1225,18 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
</div>
</form>
<pre class="prettyprint linenums">
-&lt;input class="span1" type="text"&gt;
-&lt;input class="span2" type="text"&gt;
-&lt;input class="span3" type="text"&gt;
+&lt;input class="span1" type="text" placeholder=".span1"&gt;
+&lt;input class="span2" type="text" placeholder=".span2"&gt;
+&lt;input class="span3" type="text" placeholder=".span3"&gt;
+&lt;select class="span1"&gt;
+ ...
+&lt;/select&gt;
+&lt;select class="span2"&gt;
+ ...
+&lt;/select&gt;
+&lt;select class="span3"&gt;
+ ...
+&lt;/select&gt;
</pre>
<p>For multiple grid inputs per line, <strong>use the <code>.controls-row</code> modifier class for proper spacing</strong>. It floats the inputs to collapse white-space, sets the proper margins, and the clears the float.</p>