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

Add alert divider (<hr>) example in docs (#21673)

* Add alert divider (<hr />)example in docs

* <hr/> => <hr> per @vsn4ik suggestion
This commit is contained in:
Pierre-Denis Vanduynslager 2017-01-16 00:33:32 -05:00 committed by Mark Otto
parent d7af46359b
commit 1d0f527249

View file

@ -55,12 +55,13 @@ Use the `.alert-link` utility class to quickly provide matching colored links wi
### Additional content
Alerts can also contain additional HTML elements like headings and paragraphs.
Alerts can also contain additional HTML elements like headings, paragraphs and dividers.
{% example html %}
<div class="alert alert-success" role="alert">
<h4 class="alert-heading">Well done!</h4>
<p>Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.</p>
<hr>
<p class="mb-0">Whenever you need to, be sure to use margin utilities to keep things nice and tidy.</p>
</div>
{% endexample %}