aboutsummaryrefslogtreecommitdiff
path: root/docs/base-css.html
diff options
context:
space:
mode:
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, <code>section</code> 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>