0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Make Relative sizing code snippet the same as example

This commit is contained in:
Erik van der Kolk 2012-08-18 15:31:11 +02:00
parent 663fd4ff62
commit 01dadc05f4
2 changed files with 12 additions and 12 deletions

View File

@ -1183,12 +1183,12 @@ For example, <code>section</code> should be wrapped as inline.
</div>
</form>
<pre class="prettyprint linenums">
&lt;input class="input-mini" type="text"&gt;
&lt;input class="input-small" type="text"&gt;
&lt;input class="input-medium" type="text"&gt;
&lt;input class="input-large" type="text"&gt;
&lt;input class="input-xlarge" type="text"&gt;
&lt;input class="input-xxlarge" type="text"&gt;
&lt;input class="input-mini" type="text" placeholder=".input-mini"&gt;
&lt;input class="input-small" type="text" placeholder=".input-small"&gt;
&lt;input class="input-medium" type="text" placeholder=".input-medium"&gt;
&lt;input class="input-large" type="text" placeholder=".input-large"&gt;
&lt;input class="input-xlarge" type="text" placeholder=".input-xlarge"&gt;
&lt;input class="input-xxlarge" type="text" placeholder=".input-xxlarge"&gt;
</pre>
<p>
<span class="label label-info">Heads up!</span> In future versions, we'll be altering the use of these relative input classes to match our button sizes. For example, <code>.input-large</code> will increase the padding and font-size of an input.

View File

@ -1120,12 +1120,12 @@
</div>
</form>
<pre class="prettyprint linenums">
&lt;input class="input-mini" type="text"&gt;
&lt;input class="input-small" type="text"&gt;
&lt;input class="input-medium" type="text"&gt;
&lt;input class="input-large" type="text"&gt;
&lt;input class="input-xlarge" type="text"&gt;
&lt;input class="input-xxlarge" type="text"&gt;
&lt;input class="input-mini" type="text" placeholder=".input-mini"&gt;
&lt;input class="input-small" type="text" placeholder=".input-small"&gt;
&lt;input class="input-medium" type="text" placeholder=".input-medium"&gt;
&lt;input class="input-large" type="text" placeholder=".input-large"&gt;
&lt;input class="input-xlarge" type="text" placeholder=".input-xlarge"&gt;
&lt;input class="input-xxlarge" type="text" placeholder=".input-xxlarge"&gt;
</pre>
<p>
<span class="label label-info">{{_i}}Heads up!{{/i}}</span> In future versions, we'll be altering the use of these relative input classes to match our button sizes. For example, <code>.input-large</code> will increase the padding and font-size of an input.