mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Add missing placeholders and <select> in Grid sizing code snippet
This commit is contained in:
parent
01dadc05f4
commit
f37d4b0918
@ -1225,9 +1225,18 @@ For example, <code>section</code> should be wrapped as inline.
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<input class="span1" type="text">
|
<input class="span1" type="text" placeholder=".span1">
|
||||||
<input class="span2" type="text">
|
<input class="span2" type="text" placeholder=".span2">
|
||||||
<input class="span3" type="text">
|
<input class="span3" type="text" placeholder=".span3">
|
||||||
|
<select class="span1">
|
||||||
|
...
|
||||||
|
</select>
|
||||||
|
<select class="span2">
|
||||||
|
...
|
||||||
|
</select>
|
||||||
|
<select class="span3">
|
||||||
|
...
|
||||||
|
</select>
|
||||||
</pre>
|
</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>
|
<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>
|
||||||
|
15
docs/templates/pages/base-css.mustache
vendored
15
docs/templates/pages/base-css.mustache
vendored
@ -1162,9 +1162,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<input class="span1" type="text">
|
<input class="span1" type="text" placeholder=".span1">
|
||||||
<input class="span2" type="text">
|
<input class="span2" type="text" placeholder=".span2">
|
||||||
<input class="span3" type="text">
|
<input class="span3" type="text" placeholder=".span3">
|
||||||
|
<select class="span1">
|
||||||
|
...
|
||||||
|
</select>
|
||||||
|
<select class="span2">
|
||||||
|
...
|
||||||
|
</select>
|
||||||
|
<select class="span3">
|
||||||
|
...
|
||||||
|
</select>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>{{_i}}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.{{/i}}</p>
|
<p>{{_i}}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.{{/i}}</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user