From 9887d3cf4af4897c4959491ece2fe56bef3d1114 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 9 Jul 2012 00:26:32 -0700 Subject: updating docs examples to remove 13/18 resets, fix up buttons alignments and carets --- docs/components.html | 32 +++++++------------------------- 1 file changed, 7 insertions(+), 25 deletions(-) (limited to 'docs/components.html') diff --git a/docs/components.html b/docs/components.html index 213247821..719a8ad48 100644 --- a/docs/components.html +++ b/docs/components.html @@ -214,27 +214,13 @@ ================================================== -->
- -

Description and best practices

-

Use button groups to join multiple buttons together as one composite component. Build them with a series of <a> or <button> elements. We recommend the following guidelines for using button groups and toolbars:

- -

Related Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.

- - -
- - -

Examples and variations

+

Examples

Two basic options, along with two more specific variations.

-

Basic button group

+

Single button group

Wrap a series of buttons with .btn in .btn-group.

@@ -251,7 +237,7 @@ </div> -

Toolbar example

+

Multiple button groups

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

@@ -279,11 +265,7 @@ </div> - -
- - -

Vertical button groups

+

Vertical button groups

Make a set of buttons appear vertically stacked rather than horizontally.

@@ -303,10 +285,10 @@
-

Checkbox and radio flavors

+

Checkbox and radio flavors

Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View the Javascript docs for that.

-

Dropdowns in button groups

+

Dropdowns in button groups

Heads up! Buttons with dropdowns must be individually wrapped in their own .btn-group within a .btn-toolbar for proper rendering.

-- cgit v1.2.3