From 5bed9f4635495cfd2f710cbdb631689dfa1d0d87 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 26 Jul 2013 21:52:23 -0700 Subject: [PATCH] simpler forms docs structure --- css.html | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/css.html b/css.html index 15e4082d55..9aa5c6ca42 100644 --- a/css.html +++ b/css.html @@ -1532,11 +1532,7 @@ For example, <section> should be wrapped as inline. {% endhighlight %} - -

Extending form controls

-

Adding on top of existing browser controls, Bootstrap includes other useful form components.

- -

Input groups

+

Input groups

Add text or buttons before, after, or on both sides of any text-based input. Use .input-group with an .add-on to prepend or append elements to an <input>.

@@ -1583,7 +1579,7 @@ For example, <section> should be wrapped as inline.
{% endhighlight %} -

Optional sizes

+

Optional sizes

Add the relative form sizing classes to the .input-group-addon.

@@ -1618,7 +1614,7 @@ For example, <section> should be wrapped as inline.
{% endhighlight %} -

Buttons instead of text

+

Buttons instead of text

Buttons in input groups are a bit different and require one extra level of nesting. Instead of .input-group-addon, you'll need to use .input-group-btn to wrap the buttons. This is required due to default browser styles that cannot be overridden.

@@ -1651,7 +1647,7 @@ For example, <section> should be wrapped as inline.
{% endhighlight %} -

Button dropdowns

+

Button dropdowns

@@ -1712,7 +1708,7 @@ For example, <section> should be wrapped as inline.
{% endhighlight %} -

Segmented dropdown groups

+

Segmented dropdown groups

@@ -1766,10 +1762,10 @@ For example, <section> should be wrapped as inline.
{% endhighlight %} -

Control sizing

+

Control sizing

Use relative sizing classes like .input-large or match your inputs to the grid column sizes using .col-lg-* classes.

-

Relative sizing

+

Relative sizing

Create larger or smaller form controls that match button sizes.

@@ -1798,7 +1794,7 @@ For example, <section> should be wrapped as inline. {% endhighlight %} -

Column sizing

+

Column sizing

Wrap inputs in grid columns, or any custom parent element, to easily enforce desired widths.

@@ -1827,7 +1823,7 @@ For example, <section> should be wrapped as inline.
{% endhighlight %} -

Help text

+

Help text

Block level help text for form controls.