diff options
| author | Pierre-Denis Vanduynslager <[email protected]> | 2017-01-16 00:33:32 -0500 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-01-15 21:33:32 -0800 |
| commit | 1d0f527249ffcad217c47701dab1c7872e85fb34 (patch) | |
| tree | 2b1c7e7d92b983a13536b6cb08e1caace75349a9 /docs/components | |
| parent | d7af46359b14340265e02243e2f0a9d8aa1fce50 (diff) | |
| download | bootstrap-1d0f527249ffcad217c47701dab1c7872e85fb34.tar.xz bootstrap-1d0f527249ffcad217c47701dab1c7872e85fb34.zip | |
Add alert divider (<hr>) example in docs (#21673)
* Add alert divider (<hr />)example in docs
* <hr/> => <hr> per @vsn4ik suggestion
Diffstat (limited to 'docs/components')
| -rw-r--r-- | docs/components/alerts.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/components/alerts.md b/docs/components/alerts.md index da72e322e..dae4ec7d3 100644 --- a/docs/components/alerts.md +++ b/docs/components/alerts.md @@ -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 %} |
