mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Merge pull request #8304 from cvrebert/patch-5
rm :invalid styling from docs
This commit is contained in:
commit
ae9fde5cab
@ -1380,21 +1380,6 @@ For example, <code><section></code> should be wrapped as inline.
|
|||||||
</form>
|
</form>
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<input id="focusedInput" type="text" value="This is focused...">
|
<input id="focusedInput" type="text" value="This is focused...">
|
||||||
{% endhighlight %}
|
|
||||||
|
|
||||||
<h3 id="forms-invalid-inputs">Invalid inputs</h3>
|
|
||||||
<p>Style inputs via default browser functionality. 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>
|
|
||||||
|
|
||||||
<div class="bs-callout">
|
|
||||||
<h4>Cross-browser compatibility</h4>
|
|
||||||
<p>Invalid inputs are styled via the <code>:invalid</code> CSS selector, which is not supported by Internet Explorer 9 and below.</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<form class="bs-example">
|
|
||||||
<input type="email" placeholder="test@example.com" required>
|
|
||||||
</form>
|
|
||||||
{% highlight html %}
|
|
||||||
<input type="email" placeholder="test@example.com" required>
|
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h3 id="forms-disabled-inputs">Disabled inputs</h3>
|
<h3 id="forms-disabled-inputs">Disabled inputs</h3>
|
||||||
|
Loading…
Reference in New Issue
Block a user