mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
Add missing placeholders and <select> in Grid sizing code snippet
This commit is contained in:
+12
-3
@@ -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>
|
||||||
|
|||||||
+12
-3
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user