Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a80eb1eb
Commit
a80eb1eb
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
explain
parent
458cb694
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/_includes/css/forms.html
+1
-0
docs/_includes/css/forms.html
with
1 addition
and
0 deletions
+1
-0
docs/_includes/css/forms.html
+
1
-
0
View file @
a80eb1eb
...
...
@@ -594,6 +594,7 @@
{% 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>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment