Pill Breadcrumbs
Each crumb is a rounded pill. Hover blooms a background. Current page shows solid accent fill.
Pill Breadcrumbs the 2nd of 22 designs in the 22 CSS Breadcrumbs collection. The design is implemented in pure CSS — no JavaScript required. Copy the HTML and CSS panels below into your project. Because the demo is pure CSS, it works in any framework or templating engine you happen to use. The design honours prefers-reduced-motion and uses real semantic markup, so it ships accessibility-ready out of the box.
Live preview
The code
<nav class="bc-02" aria-label="Breadcrumb">
<ol class="bc-02__list">
<li class="bc-02__item"><a class="bc-02__link" href="javascript:void(0)">Home</a></li>
<li class="bc-02__sep" aria-hidden="true">›</li>
<li class="bc-02__item"><a class="bc-02__link" href="javascript:void(0)">Design</a></li>
<li class="bc-02__sep" aria-hidden="true">›</li>
<li class="bc-02__item">
<a class="bc-02__link bc-02__link--cur" aria-current="page" href="javascript:void(0)"
>Components</a
>
</li>
</ol>
</nav> .bc-02__list {
display: flex;
align-items: center;
gap: 4px;
list-style: none;
padding: 0;
margin: 0;
}
.bc-02__sep {
color: rgba(255, 255, 255, 0.2);
font-size: 16px;
user-select: none;
padding: 0 2px;
}
.bc-02__link {
padding: 5px 14px;
border-radius: 50px;
font-size: 13px;
font-weight: 500;
color: rgba(255, 255, 255, 0.45);
text-decoration: none;
display: block;
transition:
background 0.25s,
color 0.25s;
}
.bc-02__link:hover {
background: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.85);
}
.bc-02__link--cur {
background: rgba(139, 127, 255, 0.18);
color: #8b7fff;
pointer-events: none;
}