]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Make Relative sizing code snippet the same as example
authorErik van der Kolk <developer@smerik.nl>
Sat, 18 Aug 2012 13:31:11 +0000 (15:31 +0200)
committerErik van der Kolk <developer@smerik.nl>
Sat, 18 Aug 2012 13:31:11 +0000 (15:31 +0200)
docs/base-css.html
docs/templates/pages/base-css.mustache

index df307c381687665a03539046f2cc0fc8911a83b7..85dab82e37f2021ab827a602ead012385749ac63 100644 (file)
@@ -1183,12 +1183,12 @@ For example, &lt;code&gt;section&lt;/code&gt; 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.
index d80a0eeaa3e3988bbec16a6ce2cc2c2a82036ff2..ffc22de9d62561d7eef0cf8a15719539cbcb33d7 100644 (file)
             </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.