aboutsummaryrefslogtreecommitdiff
path: root/docs/components
diff options
context:
space:
mode:
Diffstat (limited to 'docs/components')
-rw-r--r--docs/components/alerts.md3
-rw-r--r--docs/components/badge.md13
-rw-r--r--docs/components/collapse.md2
3 files changed, 16 insertions, 2 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 %}
diff --git a/docs/components/badge.md b/docs/components/badge.md
index 4e4bafcde..896c917f3 100644
--- a/docs/components/badge.md
+++ b/docs/components/badge.md
@@ -53,3 +53,16 @@ Use the `.badge-pill` modifier class to make badges more rounded (with a larger
<span class="badge badge-pill badge-warning">Warning</span>
<span class="badge badge-pill badge-danger">Danger</span>
{% endexample %}
+
+## Links
+
+Using the `.badge` classes with the `<a>` element quickly provide _actionable_ badges with hover and focus states.
+
+{% example html %}
+<a href="#" class="badge badge-default">Default</a>
+<a href="#" class="badge badge-primary">Primary</a>
+<a href="#" class="badge badge-success">Success</a>
+<a href="#" class="badge badge-info">Info</a>
+<a href="#" class="badge badge-warning">Warning</a>
+<a href="#" class="badge badge-danger">Danger</a>
+{% endexample %}
diff --git a/docs/components/collapse.md b/docs/components/collapse.md
index 18d1c1298..c269bb382 100644
--- a/docs/components/collapse.md
+++ b/docs/components/collapse.md
@@ -40,7 +40,7 @@ You can use a link with the `href` attribute, or a button with the `data-target`
## Accordion example
-Extend the default collapse behavior to create an accordion.
+Using the [card]({{ site.baseurl }}/components/card) component, you can extend the default collapse behavior to create an accordion.
{% example html %}
<div id="accordion" role="tablist">