From 9f5b619094e9023d775e2ebd438ed2d327baeda2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 30 Jan 2012 07:49:28 -0800 Subject: add in regular button dropdowns, rejigger the button dropdowns section to reflect change --- docs/components.html | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 79 insertions(+), 2 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index dc01d07dd..960616704 100644 --- a/docs/components.html +++ b/docs/components.html @@ -179,8 +179,85 @@ ================================================== -->
+ +
+
+

Button dropdowns

+

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

+ + +
+
+

Example markup

+

Similar to a button group, our markup uses regular button markup, but with a handful of additions to refine the style and support Bootstrap's dropdown jQuery plugin.

+
+<div class="btn-group">
+  <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
+    Action
+    <span class="caret"></span>
+  </a>
+  <ul class="dropdown-menu">
+    <!-- dropdown menu links -->
+  </ul>
+</div>
+
+
+
+

Split button dropdowns

@@ -247,7 +324,7 @@

Example markup

-

Similar to a button group, our markup uses regular button markup, but with a handful of additions to refine the style and support Bootstrap's dropdown jQuery plugin.

+

We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.

 <div class="btn-group">
   <a class="btn" href="#">Action</a>
-- 
cgit v1.2.3