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:
parent
d7af46359b
commit
1d0f527249
1 changed files with 2 additions and 1 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Reference in a new issue