aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/css.html2
-rw-r--r--docs/templates/pages/css.mustache2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/css.html b/docs/css.html
index 53cd678d0..2dfa3ff3b 100644
--- a/docs/css.html
+++ b/docs/css.html
@@ -1613,7 +1613,7 @@ For example, <code><section></code> should be wrapped
</pre>
<h3 id="forms-invalid-inputs">Invalid inputs</h3>
- <p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code> and add the <code>required</code> attribute.</p>
+ <p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code>, add the <code>required</code> attribute if the field is not optional, and (if applicable) specify a <code>pattern</code>.</p>
<form class="bs-docs-example form-inline">
<input class="span3" type="email" placeholder="[email protected]" required>
</form>
diff --git a/docs/templates/pages/css.mustache b/docs/templates/pages/css.mustache
index 47abef021..7674f4956 100644
--- a/docs/templates/pages/css.mustache
+++ b/docs/templates/pages/css.mustache
@@ -1553,7 +1553,7 @@ For example, &lt;code&gt;&amp;lt;section&amp;gt;&lt;/code&gt; should be wrapped
</pre>
<h3 id="forms-invalid-inputs">Invalid inputs</h3>
- <p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code> and add the <code>required</code> attribute.</p>
+ <p>Style inputs via default browser functionality with <code>:invalid</code>. Specify a <code>type</code>, add the <code>required</code> attribute if the field is not optional, and (if applicable) specify a <code>pattern</code>.</p>
<form class="bs-docs-example form-inline">
<input class="span3" type="email" placeholder="[email protected]" required>
</form>