aboutsummaryrefslogtreecommitdiff
path: root/docs/base-css.html
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-11-04 19:41:41 -0800
committerMark Otto <[email protected]>2012-11-04 19:41:41 -0800
commit823b5accd327e129e301b2f0508d911fe0d194c6 (patch)
treef8d95e2eebff3010f10dfcf763f9aadf1c38bc36 /docs/base-css.html
parent7e6cc0bf7ec795189dc14e6b27ffd25940081c71 (diff)
downloadbootstrap-823b5accd327e129e301b2f0508d911fe0d194c6.tar.xz
bootstrap-823b5accd327e129e301b2f0508d911fe0d194c6.zip
start documenting html5 invalid form fields
Diffstat (limited to 'docs/base-css.html')
-rw-r--r--docs/base-css.html9
1 files changed, 9 insertions, 0 deletions
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
@@ -1571,6 +1571,15 @@ For example, &lt;code&gt;&lt;section&gt;&lt;/code&gt; should be wrapped as inlin
&lt;input class="input-xlarge" id="focusedInput" type="text" value="This is focused..."&gt;
</pre>
+ <h3>Required inputs</h3>
+ <p>Style inputs via default browser functionality with <code>:valid</code>.</p>
+ <form class="bs-docs-example form-inline">
+ <input class="span4" type="text" value="Required input" required>
+ </form>
+<pre class="prettyprint linenums">
+&lt;input class="span4" type="text" placeholder="Required input" required&gt;
+</pre>
+
<h3>Disabled inputs</h3>
<p>Add the <code>disabled</code> attribute on an input to prevent user input and trigger a slightly different look.</p>
<form class="bs-docs-example form-inline">