From: Mark Otto Date: Sun, 13 Jul 2014 08:23:29 +0000 (-0700) Subject: markdownify button dropdowns X-Git-Tag: v4.0.0-alpha~662 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a5f1f036b55d694094b862f9ceb9cd40731fe2e;p=thirdparty%2Fbootstrap.git markdownify button dropdowns --- diff --git a/docs/components/button-dropdown.md b/docs/components/button-dropdown.md index 2cad831157..c7e9a37bf4 100644 --- a/docs/components/button-dropdown.md +++ b/docs/components/button-dropdown.md @@ -3,80 +3,80 @@ layout: page title: Button dropdown --- -
-

Button dropdowns

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

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

+
+

Plugin dependency

+

Button dropdowns require the dropdown plugin to be included in your version of Bootstrap.

+
-
-

Plugin dependency

-

Button dropdowns require the dropdown plugin to be included in your version of Bootstrap.

-
+### Single button dropdowns + +Turn a button into a dropdown toggle with some basic markup changes. + + -

Single button dropdowns

-

Turn a button into a dropdown toggle with some basic markup changes.

- {% highlight html %}
@@ -93,52 +93,117 @@ title: Button dropdown
{% endhighlight %} -

Split button dropdowns

-

Similarly, create split button dropdowns with the same markup changes, only with a separate button.

-
-
- - - -
-
- - - -
-
- - - -
+### Split button dropdowns + + +
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ +{% highlight html %} + +
+ + + +
+{% endhighlight %} + +### Sizing + +Button dropdowns work with buttons of all sizes. + +
+ + + -{% highlight html %} - -
- - - -
-{% endhighlight %} +
+
-

Sizing

-

Button dropdowns work with buttons of all sizes.

-
- - - -
{% highlight html %}
@@ -270,38 +276,41 @@ title: Button dropdown
{% endhighlight %} -

Dropup variation

-

Trigger dropdown menus above elements by adding .dropup to the parent.

-
- -
+### Dropup variation + +Trigger dropdown menus above elements by adding `.dropup` to the parent. + +
+ +
+ {% highlight html %}
@@ -313,4 +322,3 @@ title: Button dropdown
{% endhighlight %} -