aboutsummaryrefslogtreecommitdiff
path: root/docs/css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-01-12 00:29:23 -0800
committerMark Otto <[email protected]>2013-01-12 00:29:23 -0800
commit3773b999695c74c21959c046b511ba26efa65dbc (patch)
tree6c96cb8bcc1de10626ef488fa887dc5d240f9312 /docs/css.html
parent7b3f74311eab0ccc53dbfde4122f29e9634f66bf (diff)
parent206205a6b2a214fbdc76cfb5e9c63706bb11e0ea (diff)
downloadbootstrap-3773b999695c74c21959c046b511ba26efa65dbc.tar.xz
bootstrap-3773b999695c74c21959c046b511ba26efa65dbc.zip
Merge pull request #6463 from cvrebert/input-required-docs-fix-3.0.0
update 3.0.0 docs to reflect #5786
Diffstat (limited to 'docs/css.html')
-rw-r--r--docs/css.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/css.html b/docs/css.html
index 64527c34f..65c876b2b 100644
--- a/docs/css.html
+++ b/docs/css.html
@@ -1626,7 +1626,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>