From 7e6cc0bf7ec795189dc14e6b27ffd25940081c71 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 4 Nov 2012 19:08:02 -0800 Subject: Fixes #5785: allow for segmented button groups in input groups --- docs/base-css.html | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) (limited to 'docs/base-css.html') diff --git a/docs/base-css.html b/docs/base-css.html index dd34401d5..bd04e53d6 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1323,6 +1323,54 @@ For example, <code><section></code> should be wrapped as inlin </ul> </div> </div> + + +

Segmented dropdown groups

+
+
+
+ + + +
+ +
+
+ +
+ + + +
+
+
+
+<form>
+  <div class="input-prepend">
+    <div class="btn-group">...</div>
+    <input type="text">
+  </div>
+  <div class="input-append">
+    <input type="text">
+    <div class="btn-group">...</div>
+  </div>
+</form>
 

Search form

-- cgit v1.2.3 From 823b5accd327e129e301b2f0508d911fe0d194c6 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 4 Nov 2012 19:41:41 -0800 Subject: start documenting html5 invalid form fields --- docs/base-css.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'docs/base-css.html') diff --git a/docs/base-css.html b/docs/base-css.html index bd04e53d6..ff2325dfa 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1569,6 +1569,15 @@ For example, <code><section></code> should be wrapped as inlin
 <input class="input-xlarge" id="focusedInput" type="text" value="This is focused...">
+
+ +

Required inputs

+

Style inputs via default browser functionality with :valid.

+
+ +
+
+<input class="span4" type="text" placeholder="Required input" required>
 

Disabled inputs

-- cgit v1.2.3 From 62c78e46f8d027d0797c66bef5ce8cdb8d667ace Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 4 Nov 2012 19:53:13 -0800 Subject: more required input tweaks --- docs/base-css.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/base-css.html') diff --git a/docs/base-css.html b/docs/base-css.html index ff2325dfa..816b465c9 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1571,13 +1571,13 @@ For example, <code><section></code> should be wrapped as inlin <input class="input-xlarge" id="focusedInput" type="text" value="This is focused..."> -

Required inputs

-

Style inputs via default browser functionality with :valid.

+

Invalid inputs

+

Style inputs via default browser functionality with :invalid. Specify a type and add the required attribute.

- +
-<input class="span4" type="text" placeholder="Required input" required>
+<input class="span3" type="email" required>
 

Disabled inputs

-- cgit v1.2.3