diff options
| author | Mark Otto <[email protected]> | 2012-01-29 00:07:01 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-01-29 00:07:01 -0800 |
| commit | 7bf27674523c35f8803311a964dc72a7093351c0 (patch) | |
| tree | ad383974ddc57dcb0ed21c6b4ccc2cbfee1df417 /docs/base-css.html | |
| parent | 15a1c0ce7988aaf715096760fa99eff7b23937f4 (diff) | |
| download | bootstrap-7bf27674523c35f8803311a964dc72a7093351c0.tar.xz bootstrap-7bf27674523c35f8803311a964dc72a7093351c0.zip | |
remove form docs from the styles and markup, it's no longer needed
Diffstat (limited to 'docs/base-css.html')
| -rw-r--r-- | docs/base-css.html | 59 |
1 files changed, 28 insertions, 31 deletions
diff --git a/docs/base-css.html b/docs/base-css.html index 4651e9789..3b4032805 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -952,22 +952,20 @@ For example, <code>section</code> should be wrapped as inline. </form> </div> <div class="span4"> - <div class="form-docs"> - <h3>What's included</h3> - <p>Shown on the left are all the default form controls we support. Here's the bulleted list:</p> - <ul> - <li>text inputs (text, password, email, etc)</li> - <li>checkbox</li> - <li>radio</li> - <li>select</li> - <li>multiple select</li> - <li>file input</li> - <li>textarea</li> - </ul> - <hr> - <h3>New defaults with v2.0</h3> - <p>Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.</p> - </div> + <h3>What's included</h3> + <p>Shown on the left are all the default form controls we support. Here's the bulleted list:</p> + <ul> + <li>text inputs (text, password, email, etc)</li> + <li>checkbox</li> + <li>radio</li> + <li>select</li> + <li>multiple select</li> + <li>file input</li> + <li>textarea</li> + </ul> + <hr> + <h3>New defaults with v2.0</h3> + <p>Up to v1.4, Bootstrap's default form styles used the horizontal layout. With Bootstrap 2, we removed that constraint to have smarter, more scalable defaults for any form.</p> </div> </div> @@ -1047,19 +1045,17 @@ For example, <code>section</code> should be wrapped as inline. </form> </div> <div class="span4"> - <div class="form-docs"> - <h3>Redesigned browser states</h3> - <p>Bootstrap features styles for browser-supported focused and <code>disabled</code> states. We remove the default Webkit <code>outline</code> and apply a <code>box-shadow</code> in it's place for <code>:focus</code>.</p> - <hr> - <h3>Form validation</h3> - <p>It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding <code>.control-group</code>.</p> + <h3>Redesigned browser states</h3> + <p>Bootstrap features styles for browser-supported focused and <code>disabled</code> states. We remove the default Webkit <code>outline</code> and apply a <code>box-shadow</code> in it's place for <code>:focus</code>.</p> + <hr> + <h3>Form validation</h3> + <p>It also includes validation styles for errors, warnings, and success. To use, add the a class to the surrounding <code>.control-group</code>.</p> <pre class="prettyprint linenums"> <fieldset class="control-group error"> … </fieldset> </pre> - </div> </div> </div> @@ -1152,14 +1148,15 @@ For example, <code>section</code> should be wrapped as inline. </form> </div> <div class="span4"> - <div class="form-docs"> - <h3>Prepend & append inputs</h3> - <p>Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.</p> - <hr> - <h3>Checkboxes and radios</h3> - <p>Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <code><label class="checkbox"></code> that wraps the <code><input type="checkbox"></code>.</p> - <p>Inline checkboxes and radios are also supported. Just add <code>.inline</code> to any <code>.checkbox</code> or <code>.radio</code> and you're done.</p> - </div> + <h3>Prepend & append inputs</h3> + <p>Input groups—with appended or prepended text—provide an easy way to give more context for your inputs. Great examples include the @ sign for Twitter usernames or $ for finances.</p> + <hr> + <h3>Checkboxes and radios</h3> + <p>Up to v1.4, Bootstrap required extra markup around checkboxes and radios to stack them. Now, it's a simple matter of repeating the <code><label class="checkbox"></code> that wraps the <code><input type="checkbox"></code>.</p> + <p>Inline checkboxes and radios are also supported. Just add <code>.inline</code> to any <code>.checkbox</code> or <code>.radio</code> and you're done.</p> + <hr> + <h4>Inline forms and append/prepend</h4> + <p>To use prepend or append inputs in an inline form, be sure to place the <code>.add-on</code> and <code>input</code> on the same line, without spaces.</p> </div> </div><!-- /row --> </section> |
