From d23813988a0d0f96aae566ff13f6419ee97e7418 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 9f444d5672..15f810be81 100644 --- a/docs/4.0/components/dropdowns.md +++ b/docs/4.0/components/dropdowns.md @@ -474,6 +474,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**. -- 2.47.2