mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
start documenting html5 invalid form fields
This commit is contained in:
parent
7e6cc0bf7e
commit
823b5accd3
2 changed files with 18 additions and 0 deletions
|
@ -1569,6 +1569,15 @@ For example, <code><section></code> should be wrapped as inlin
|
|||
</form>
|
||||
<pre class="prettyprint linenums">
|
||||
<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">
|
||||
<input class="span4" type="text" placeholder="Required input" required>
|
||||
</pre>
|
||||
|
||||
<h3>Disabled inputs</h3>
|
||||
|
|
9
docs/templates/pages/base-css.mustache
vendored
9
docs/templates/pages/base-css.mustache
vendored
|
@ -1506,6 +1506,15 @@
|
|||
</form>
|
||||
<pre class="prettyprint linenums">
|
||||
<input class="input-xlarge" id="focusedInput" type="text" value="{{_i}}This is focused...{{/i}}">
|
||||
</pre>
|
||||
|
||||
<h3>{{_i}}Required inputs{{/i}}</h3>
|
||||
<p>{{_i}}Style inputs via default browser functionality with <code>:valid</code>.{{/i}}</p>
|
||||
<form class="bs-docs-example form-inline">
|
||||
<input class="span4" type="text" value="{{_i}}Required input{{/i}}" required>
|
||||
</form>
|
||||
<pre class="prettyprint linenums">
|
||||
<input class="span4" type="text" placeholder="{{_i}}Required input{{/i}}" required>
|
||||
</pre>
|
||||
|
||||
<h3>{{_i}}Disabled inputs{{/i}}</h3>
|
||||
|
|
Loading…
Reference in a new issue