mirror of
https://github.com/twbs/bootstrap.git
synced 2025-10-21 00:05:40 -04:00
explain
This commit is contained in:
parent
458cb6944b
commit
a80eb1eb50
@ -594,6 +594,7 @@
|
|||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<h4>Optional icons with hidden <code>.sr-only</code> labels</h4>
|
<h4>Optional icons with hidden <code>.sr-only</code> labels</h4>
|
||||||
|
<p>For form controls with no visible label, add the <code>.sr-only</code> class on the label. Bootstrap will automatically adjust the position of the icon once it's been added.</p>
|
||||||
<div class="bs-example">
|
<div class="bs-example">
|
||||||
<div class="form-group has-success has-feedback">
|
<div class="form-group has-success has-feedback">
|
||||||
<label class="control-label sr-only" for="inputSuccess5">Hidden label</label>
|
<label class="control-label sr-only" for="inputSuccess5">Hidden label</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user