aboutsummaryrefslogtreecommitdiff
path: root/docs/base-css.html
diff options
context:
space:
mode:
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, <code><section></code> should be wrapped as inlin
<input class="input-xlarge" id="focusedInput" type="text" value="This is focused...">
</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">