From 3e76d6565603fafa2c85ad81d7b6345c4e279c72 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 28 May 2017 22:50:57 -0700 Subject: Rearrange all the docs to allow for a docs/major.minor/ setup --- docs/components/input-group.md | 237 ----------------------------------------- 1 file changed, 237 deletions(-) delete mode 100644 docs/components/input-group.md (limited to 'docs/components/input-group.md') diff --git a/docs/components/input-group.md b/docs/components/input-group.md deleted file mode 100644 index 144d6f628..000000000 --- a/docs/components/input-group.md +++ /dev/null @@ -1,237 +0,0 @@ ---- -layout: docs -title: Input group -description: Easily extend form controls by adding text, buttons, or button groups on either side of textual inputs. -group: components -toc: true ---- - -## Basic example - -Place one add-on or button on either side of an input. You may also place one on both sides of an input. **We do not support multiple form-controls in a single input group.** - -{% example html %} -
- @ - -
-
-
- - @example.com -
-
- -
- https://example.com/users/ - -
-
-
- $ - - .00 -
-
-
- $ - 0.00 - -
-{% endexample %} - -## Sizing - -Add the relative form sizing classes to the `.input-group` itself and contents within will automatically resize—no need for repeating the form control size classes on each element. - -{% example html %} -
- @ - -
-
-
- @ - -
-{% endexample %} - -## Checkboxes and radio addons - -Place any checkbox or radio option within an input group's addon instead of text. - -{% example html %} -
-
-
- - - - -
-
-
-
- - - - -
-
-
-{% endexample %} - -## Multiple addons - -Multiple add-ons are supported and can be mixed with checkbox and radio input versions. - -{% example html %} -
-
-
- - - - $ - -
-
-
-
- $ - 0.00 - -
-
-
-{% endexample %} - - -## Button addons - -Buttons in input groups must wrapped in a `.input-group-btn` for proper alignment and sizing. This is required due to default browser styles that cannot be overridden. - -{% example html %} -
-
-
- - - - -
-
-
-
- - - -
-
-
-
-
-
-
- - - - - - - -
-
-
-{% endexample %} - -## Buttons with dropdowns - -{% example html %} -
-
-
- - -
-
-
-
- - -
-
-
-{% endexample %} - -## Segmented buttons - -{% example html %} -
-
-
-
- - - -
- -
-
-
-
- -
- - - -
-
-
-
-{% endexample %} - -## Accessibility - -Screen readers will have trouble with your forms if you don't include a label for every input. For these input groups, ensure that any additional label or functionality is conveyed to assistive technologies. - -The exact technique to be used (`