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/components/button-dropdown.md | 311 +++++++++++++++++++++++++++++++++++++ 1 file changed, 311 insertions(+) create mode 100644 docs/components/button-dropdown.md (limited to 'docs/components') 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