1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

document some help text examples to the docs

This commit is contained in:
Mark Otto 2015-08-18 19:30:22 -07:00
parent c369409a54
commit a79e7db6bd

View file

@ -515,10 +515,18 @@ Wrap inputs in grid columns, or any custom parent element, to easily enforce des
## Help text ## 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 %} {% 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 %} {% endexample %}
## Validation ## Validation