From dc3abb5f127b21f677ec663a5c8ccbea45b7168a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 23 Apr 2015 00:51:39 -0700 Subject: Update labels and form grid examples --- docs/components/forms.md | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) (limited to 'docs/components/forms.md') diff --git a/docs/components/forms.md b/docs/components/forms.md index 743f2b8ba..66d34df2f 100644 --- a/docs/components/forms.md +++ b/docs/components/forms.md @@ -240,29 +240,57 @@ Because of this, you may need to manually adddres the width and alignment of ind ### Using the Grid -For more structured form layouts, you can utilize Bootstrap's predefined grid classes (or mixins). Add the `.row` class to form groups and use the `.col-*` classes to specify the width of your labels and controls. +For more structured form layouts, you can utilize Bootstrap's predefined grid classes (or mixins). Add the `.row` class to form groups and use the `.col-*` classes to specify the width of your labels and controls. To vertically center the labels with the textual inputs—nearly anything with `.form-control`—use the `.form-control-label` class. {% example html %}
- +
- +
-
+ +
+
+ +
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+
-- cgit v1.2.3