aboutsummaryrefslogtreecommitdiff
path: root/docs/base-css.html
diff options
context:
space:
mode:
authorErik van der Kolk <[email protected]>2012-08-18 16:47:15 +0200
committerErik van der Kolk <[email protected]>2012-08-18 16:47:15 +0200
commit04a20fb402e45c4362c6e7804efb21d77f45e6a6 (patch)
tree4ac78a84fa08191435e6e1ba5813e9b4865d4ea9 /docs/base-css.html
parent7b7a02542b5fa46338bc14fd83ca9b84d43c6b55 (diff)
downloadbootstrap-04a20fb402e45c4362c6e7804efb21d77f45e6a6.tar.xz
bootstrap-04a20fb402e45c4362c6e7804efb21d77f45e6a6.zip
Use one line per tag in code snippet for One class, multiple tags
Diffstat (limited to 'docs/base-css.html')
-rw-r--r--docs/base-css.html10
1 files changed, 3 insertions, 7 deletions
diff --git a/docs/base-css.html b/docs/base-css.html
index 584ce7d07..c1b13655d 100644
--- a/docs/base-css.html
+++ b/docs/base-css.html
@@ -1550,13 +1550,9 @@ For example, &lt;code&gt;section&lt;/code&gt; should be wrapped as inline.
</form>
<pre class="prettyprint linenums">
&lt;a class="btn" href=""&gt;Link&lt;/a&gt;
-&lt;button class="btn" type="submit"&gt;
- Button
-&lt;/button&gt;
-&lt;input class="btn" type="button"
- value="Input"&gt;
-&lt;input class="btn" type="submit"
- value="Submit"&gt;
+&lt;button class="btn" type="submit"&gt;Button&lt;/button&gt;
+&lt;input class="btn" type="button" value="Input"&gt;
+&lt;input class="btn" type="submit" value="Submit"&gt;
</pre>
<p>As a best practice, try to match the element for you context to ensure matching cross-browser rendering. If you have an <code>input</code>, use an <code>&lt;input type="submit"&gt;</code> for your button.</p>