From: Mark Otto Date: Sat, 10 Mar 2012 19:37:34 +0000 (-0800) Subject: simplify buttons docs section by changing a buttons to button elements X-Git-Tag: v2.0.2~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9ebc6b4c9700610fbc83173c95f5464999f83bff;p=thirdparty%2Fbootstrap.git simplify buttons docs section by changing a buttons to button elements --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 4148e5ee9c..086c8db293 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/components.html b/docs/components.html index a3a389c98f..809f4d40e9 100644 --- a/docs/components.html +++ b/docs/components.html @@ -134,34 +134,34 @@

Here's how the HTML looks for a standard button group built with anchor tag buttons:

- Left - Middle - Right + + +
 <div class="btn-group">
-  <a class="btn" href="#">1</a>
-  <a class="btn" href="#">2</a>
-  <a class="btn" href="#">3</a>
+  <button class="btn">1</button>
+  <button class="btn">2</button>
+  <button class="btn">3</button>
 </div>
 

Toolbar example

Combine sets of <div class="btn-group"> into a <div class="btn-toolbar"> for more complex components.

- 1 - 2 - 3 - 4 + + + +
- 5 - 6 - 7 + + +
- 8 +
@@ -198,7 +198,7 @@
       

Use any button to trigger a dropdown menu by placing it within a .btn-group and providing the proper menu markup.

- Action +
- Action +
- Danger +
- Warning +
- Success +
- Info +
- Inverse +