From 2a43e7e78a59c70e217383c12c9ef0482cabb163 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 16 Mar 2014 19:03:53 -0700 Subject: Break up docs into includes --- docs/_includes/components/button-dropdowns.html | 321 ++++++++++++++++++++++++ 1 file changed, 321 insertions(+) create mode 100644 docs/_includes/components/button-dropdowns.html (limited to 'docs/_includes/components/button-dropdowns.html') diff --git a/docs/_includes/components/button-dropdowns.html b/docs/_includes/components/button-dropdowns.html new file mode 100644 index 000000000..d4ae0450f --- /dev/null +++ b/docs/_includes/components/button-dropdowns.html @@ -0,0 +1,321 @@ +
+

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