From: Mark Otto Date: Fri, 17 Apr 2015 23:50:02 +0000 (-0700) Subject: move custom forms docs to the forms docs page X-Git-Tag: v4.0.0-alpha~293 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4aa650d7dac5770728baca2ca8f8b5f99c83577;p=thirdparty%2Fbootstrap.git move custom forms docs to the forms docs page --- diff --git a/docs/components/forms.md b/docs/components/forms.md index e4a5006028..743f2b8ba7 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -657,3 +657,137 @@ Block level help text for form controls. {% example html %}

A block of help text that breaks onto a new line and may extend beyond one line.

{% endexample %} + + + +## Custom forms + +For even more customization and cross browser consistency, use our completely custom form elements to replace the browser defaults. They're built on top of semantic and accessible markup, so they're solid replacements any default form control. + +### Checkboxes and radios + +Each checkbox and radio is wrapped in a ` +{% endexample %} + +The ` + + +{% endexample %} + +The file input is the most gnarly of the bunch. Here's how it works: + +- We wrap the `` in a `