From 815210f93b711403710fbd22cd1efbc3e58078bc Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 17 Jun 2017 20:56:26 -0700 Subject: [PATCH] Add examples of forms in dropdown menus --- docs/4.0/components/dropdowns.md | 49 ++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/docs/4.0/components/dropdowns.md b/docs/4.0/components/dropdowns.md index 4840e8480301..de092f35bc28 100644 --- a/docs/4.0/components/dropdowns.md +++ b/docs/4.0/components/dropdowns.md @@ -472,6 +472,55 @@ Separate groups of related menu items with a divider. {% endexample %} +## Menu forms + +Put a form within a dropdown menu, or make it into a dropdown menu, and use [margin or padding utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/spacing/) to give it the negative space you require. + +{% example html %} + +{% endexample %} + +{% example html %} + +{% endexample %} + ## Disabled menu items Add `.disabled` to items in the dropdown to **style them as disabled**.