From deb720c94c777451f552c284d0272d414980895b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 12 Jul 2014 02:12:55 -0700 Subject: move button dropdowns --- docs/_includes/components/button-dropdowns.html | 311 ------------------------ docs/components/button-dropdown.md | 311 ++++++++++++++++++++++++ 2 files changed, 311 insertions(+), 311 deletions(-) delete mode 100644 docs/_includes/components/button-dropdowns.html create mode 100644 docs/components/button-dropdown.md (limited to 'docs') diff --git a/docs/_includes/components/button-dropdowns.html b/docs/_includes/components/button-dropdowns.html deleted file mode 100644 index 0b67620bc..000000000 --- a/docs/_includes/components/button-dropdowns.html +++ /dev/null @@ -1,311 +0,0 @@ -
-

Button dropdowns

- -

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.

-
- -

Single button dropdowns

-

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

- -{% highlight html %} - - -{% endhighlight %} - -

Split button dropdowns

-

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

-
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
- - - -
-
-{% highlight html %} - -
- - - -
-{% endhighlight %} - -

Sizing

-

Button dropdowns work with buttons of all sizes.

-
- - - -
-{% highlight html %} - -
- - -
- - -
- - -
- - -
- - -
-{% endhighlight %} - -

Dropup variation

-

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

-
- -
-{% highlight html %} -
- - - -
-{% endhighlight %} -
diff --git a/docs/components/button-dropdown.md b/docs/components/button-dropdown.md new file mode 100644 index 000000000..0b67620bc --- /dev/null +++ b/docs/components/button-dropdown.md @@ -0,0 +1,311 @@ +
+

Button dropdowns

+ +

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.

+
+ +

Single button dropdowns

+

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

+ +{% highlight html %} + + +{% endhighlight %} + +

Split button dropdowns

+

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

+
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+ + + +
+
+{% highlight html %} + +
+ + + +
+{% endhighlight %} + +

Sizing

+

Button dropdowns work with buttons of all sizes.

+
+ + + +
+{% highlight html %} + +
+ + +
+ + +
+ + +
+ + +
+ + +
+{% endhighlight %} + +

Dropup variation

+

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

+
+ +
+{% highlight html %} +
+ + + +
+{% endhighlight %} +
-- cgit v1.2.3