]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
explain
authorMark Otto <otto@github.com>
Thu, 1 May 2014 02:47:50 +0000 (19:47 -0700)
committerMark Otto <otto@github.com>
Thu, 1 May 2014 02:47:50 +0000 (19:47 -0700)
docs/_includes/css/forms.html

index 24e07cd257775cc626abaab6b9c1fef8443879b9..f2e29d6ff3094a18cc1114657958cd87ac27b4f8 100644 (file)
 {% endhighlight %}
 
   <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="form-group has-success has-feedback">
       <label class="control-label sr-only" for="inputSuccess5">Hidden label</label>