diff --git a/docs/components.html b/docs/components.html index aef8a2ba65..1dccd20825 100644 --- a/docs/components.html +++ b/docs/components.html @@ -101,11 +101,11 @@
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:
-<a>
or <button>
.Related Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.
+ +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:
+<a>
or <button>
.Related Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.
+ +Here's how the HTML looks for a standard button group built with anchor tag buttons:
+Here's how the HTML looks for a standard button group built with anchor tag buttons:
-<div class="btn-group"> <button class="btn">1</button> @@ -148,24 +146,24 @@ <button class="btn">3</button> </div>-
Combine sets of <div class="btn-group">
into a <div class="btn-toolbar">
for more complex components.
Combine sets of <div class="btn-group">
into a <div class="btn-toolbar">
for more complex components.
<div class="btn-toolbar"> <div class="btn-group"> @@ -173,15 +171,11 @@ </div> </div>-
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.
- -Heads up! Buttons with dropdowns must be individually wrapped in their own .btn-group
within a .btn-toolbar
for proper rendering.
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.
+ +Heads up! Buttons with dropdowns must be individually wrapped in their own .btn-group
within a .btn-toolbar
for proper rendering.
Use any button to trigger a dropdown menu by placing it within a .btn-group
and providing the proper menu 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.
+ +Use any button to trigger a dropdown menu by placing it within a .btn-group
and providing the proper menu 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="#"> @@ -287,182 +279,176 @@ </ul> </div>-
Button dropdowns work at any size. your button sizes to .btn-large
, .btn-small
, or .btn-mini
.
Button dropdowns require the Bootstrap dropdown plugin to function.
-In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.
-Button dropdowns work at any size. your button sizes to .btn-large
, .btn-small
, or .btn-mini
.
Button dropdowns require the Bootstrap dropdown plugin to function.
+In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.
+Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.
- - - -Utilize the extra button classes .btn-mini
, .btn-small
, or .btn-large
for sizing.
Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.
+ + + +Utilize the extra button classes .btn-mini
, .btn-small
, or .btn-large
for sizing.
<div class="btn-group"> ... @@ -471,10 +457,9 @@ </ul> </div>-
We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.
+ +We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.
<div class="btn-group"> <button class="btn">Action</button> @@ -486,32 +471,32 @@ </ul> </div>-
Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu
. It will flip the direction of the .caret
and reposition the menu itself to move from the bottom up instead of top down.
Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu
. It will flip the direction of the .caret
and reposition the menu itself to move from the bottom up instead of top down.
<div class="btn-group dropup"> <button class="btn">Dropup</button> @@ -524,8 +509,6 @@ </div>-
{{_i}}Use button groups to join multiple buttons together as one composite component. Build them with a series of <a>
or <button>
elements.{{/i}}
{{_i}}We recommend the following guidelines for using button groups and toolbars:{{/i}}
-<a>
or <button>
.{{/i}}{{_i}}Related Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.{{/i}}
+ +{{_i}}Use button groups to join multiple buttons together as one composite component. Build them with a series of <a>
or <button>
elements.{{/i}}
{{_i}}We recommend the following guidelines for using button groups and toolbars:{{/i}}
+<a>
or <button>
.{{/i}}{{_i}}Related Button groups with dropdowns (see below) should be called out separately and always include a dropdown caret to indicate intended behavior.{{/i}}
+ +{{_i}}Here's how the HTML looks for a standard button group built with anchor tag buttons:{{/i}}
+{{_i}}Here's how the HTML looks for a standard button group built with anchor tag buttons:{{/i}}
-<div class="btn-group"> <button class="btn">1</button> @@ -70,24 +68,24 @@ <button class="btn">3</button> </div>-
{{_i}}Combine sets of <div class="btn-group">
into a <div class="btn-toolbar">
for more complex components.{{/i}}
{{_i}}Combine sets of <div class="btn-group">
into a <div class="btn-toolbar">
for more complex components.{{/i}}
<div class="btn-toolbar"> <div class="btn-group"> @@ -95,15 +93,11 @@ </div> </div>-
{{_i}}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.{{/i}}
-{{_i}}Get the javascript »{{/i}}
-{{_i}}Heads up!{{/i}} {{_i}}Buttons with dropdowns must be individually wrapped in their own .btn-group
within a .btn-toolbar
for proper rendering.{{/i}}
{{_i}}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.{{/i}}
+{{_i}}Get the javascript »{{/i}}
+{{_i}}Heads up!{{/i}} {{_i}}Buttons with dropdowns must be individually wrapped in their own .btn-group
within a .btn-toolbar
for proper rendering.{{/i}}
{{_i}}Use any button to trigger a dropdown menu by placing it within a .btn-group
and providing the proper menu markup.{{/i}}
{{_i}}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.{{/i}}
+ +{{_i}}Use any button to trigger a dropdown menu by placing it within a .btn-group
and providing the proper menu markup.{{/i}}
{{_i}}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.{{/i}}
<div class="btn-group"> <a class="btn dropdown-toggle" data-toggle="dropdown" href="#"> @@ -209,182 +201,176 @@ </ul> </div>-
{{_i}}Button dropdowns work at any size. your button sizes to .btn-large
, .btn-small
, or .btn-mini
.{{/i}}
{{_i}}Button dropdowns require the Bootstrap dropdown plugin to function.{{/i}}
-{{_i}}In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.{{/i}}
-{{_i}}Button dropdowns work at any size. your button sizes to .btn-large
, .btn-small
, or .btn-mini
.{{/i}}
{{_i}}Button dropdowns require the Bootstrap dropdown plugin to function.{{/i}}
+{{_i}}In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.{{/i}}
+{{_i}}Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.{{/i}}
- - - -{{_i}}Utilize the extra button classes .btn-mini
, .btn-small
, or .btn-large
for sizing.{{/i}}
{{_i}}Building on the button group styles and markup, we can easily create a split button. Split buttons feature a standard action on the left and a dropdown toggle on the right with contextual links.{{/i}}
+ + + +{{_i}}Utilize the extra button classes .btn-mini
, .btn-small
, or .btn-large
for sizing.{{/i}}
<div class="btn-group"> ... @@ -393,10 +379,9 @@ </ul> </div>-
{{_i}}We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.{{/i}}
+ +{{_i}}We expand on the normal button dropdowns to provide a second button action that operates as a separate dropdown trigger.{{/i}}
<div class="btn-group"> <button class="btn">{{_i}}Action{{/i}}</button> @@ -408,32 +393,32 @@ </ul> </div>-
{{_i}}Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu
. It will flip the direction of the .caret
and reposition the menu itself to move from the bottom up instead of top down.{{/i}}
{{_i}}Dropdown menus can also be toggled from the bottom up by adding a single class to the immediate parent of .dropdown-menu
. It will flip the direction of the .caret
and reposition the menu itself to move from the bottom up instead of top down.{{/i}}
<div class="btn-group dropup"> <button class="btn">{{_i}}Dropup{{/i}}</button> @@ -446,8 +431,6 @@ </div>-