Skip to content

Commit b09f70e

Browse files
committed
clear up and split out breadcrumb examples
1 parent 88c629f commit b09f70e

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/components/breadcrumb.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ title: Breadcrumb
44
group: components
55
---
66

7-
Indicate the current page's location within a navigational hierarchy.
8-
9-
Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content).
10-
11-
Works fine with or without the usage of list markup.
7+
Indicate the current page's location within a navigational hierarchy. Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content).
128

139
{% example html %}
1410
<ol class="breadcrumb">
@@ -23,11 +19,15 @@ Works fine with or without the usage of list markup.
2319
<li class="breadcrumb-item"><a href="#">Library</a></li>
2420
<li class="breadcrumb-item active">Data</li>
2521
</ol>
26-
<!-- Or use a div instead of a list -->
27-
<div class="breadcrumb">
22+
{% endexample %}
23+
24+
Similar to our navigation components, breadcrumbs work fine with or without the usage of list markup.
25+
26+
{% example html %}
27+
<nav class="breadcrumb">
2828
<a class="breadcrumb-item" href="#">Home</a>
2929
<a class="breadcrumb-item" href="#">Library</a>
3030
<a class="breadcrumb-item" href="#">Data</a>
3131
<span class="breadcrumb-item active">Bootstrap</span>
32-
</div>
32+
</nav>
3333
{% endexample %}

0 commit comments

Comments
 (0)