aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-18 19:30:22 -0700
committerMark Otto <[email protected]>2015-08-18 19:30:22 -0700
commita79e7db6bd3ecfb55dc0d84372fbe32ba3b3292b (patch)
tree3dddc1f17b6463de945b67e0df5cb9c77a465db5 /docs/components
parentc369409a54593a87e856250b4bb82e6446858c6a (diff)
downloadbootstrap-a79e7db6bd3ecfb55dc0d84372fbe32ba3b3292b.tar.xz
bootstrap-a79e7db6bd3ecfb55dc0d84372fbe32ba3b3292b.zip
document some help text examples to the docs
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/forms.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/components/forms.md b/docs/components/forms.md
index 1e467e885..e7deaa1ab 100644
--- a/docs/components/forms.md
+++ b/docs/components/forms.md
@@ -515,10 +515,18 @@ Wrap inputs in grid columns, or any custom parent element, to easily enforce des
## Help text
-Block level help text for form controls.
+No official help text classes exist in Bootstrap 4 (previously we had `.help-block` in v3), but thanks to our utility classes, you can create much more flexible help text as you need it.
{% example html %}
-<p class="text-help">A block of help text that breaks onto a new line and may extend beyond one line.</p>
+<!-- Inline -->
+<small class="text-muted">Some inline text with a small tag looks like this.</small>
+{% endexample %}
+
+{% example html %}
+<!-- Block -->
+<p class="text-muted">
+ A block of help text that breaks onto a new line and may extend beyond one line.
+</p>
{% endexample %}
## Validation