From 6d447079a41f8441c061a9d6f572e28c627ccd6e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 6 Jul 2012 15:18:56 -0700 Subject: update buttons in docs to include type --- docs/base-css.html | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'docs/base-css.html') diff --git a/docs/base-css.html b/docs/base-css.html index 2b7c1ec71..3df5a114b 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1136,13 +1136,13 @@ For example, <code>section</code> should be wrapped as inline.
- +
 <div class="form-actions">
   <button type="submit" class="btn btn-primary">Save changes</button>
-  <button class="btn">Cancel</button>
+  <button type="button" class="btn">Cancel</button>
 </div>
 
@@ -1263,37 +1263,37 @@ For example, <code>section</code> should be wrapped as inline. - + btn Standard gray button with gradient - + btn btn-primary Provides extra visual weight and identifies the primary action in a set of buttons - + btn btn-info Used as an alternative to the default styles - + btn btn-success Indicates a successful or positive action - + btn btn-warning Indicates caution should be taken with this action - + btn btn-danger Indicates a dangerous or potentially negative action - + btn btn-inverse Alternate dark gray button, not tied to a semantic action or use @@ -1310,16 +1310,16 @@ For example, <code>section</code> should be wrapped as inline.

Button sizes

Fancy larger or smaller buttons? Add .btn-large, .btn-small, or .btn-mini for two additional sizes.

- - + +

- - + +

- - + +

@@ -1347,12 +1347,12 @@ For example, <code>section</code> should be wrapped as inline.

Button element

Add the disabled attribute to <button> buttons.

- - + +

-<button class="btn btn-large btn-primary disabled" disabled="disabled">Primary button</button>
-<button class="btn btn-large" disabled>Button</button>
+<button type="button" class="btn btn-large btn-primary disabled" disabled="disabled">Primary button</button>
+<button type="button" class="btn btn-large" disabled>Button</button>
 
-- cgit v1.2.3