39 CSS Breadcrumbs
15 / 39

All 39 in 39 CSS Breadcrumbs

  1. 01Accessible Breadcrumb Navigation with Schema.org Microdata & ARIA
  2. 02Responsive Collapsing CSS Breadcrumb Bar using :has() Selector
  3. 03Adaptive Light & Dark Mode Breadcrumb Bar with CSS Custom Properties
  4. 04E-Commerce Filter & Attribute Breadcrumb Navigation Component
  5. 05Modern Glassmorphism Floating Breadcrumb Bar UI Design
  6. 06Neumorphic Soft UI Breadcrumb Navigation with Dual Box Shadows
  7. 07Sticky Top CSS Navigation Header with Shrinking Breadcrumb Trail
  8. 08Material Design Flat Breadcrumb Navigation Bar
  9. 09Isometric 3D Layered CSS Breadcrumb Navigation
  10. 10Breadcrumb Bar with Built-In Dropdown Sibling Menus
  11. 11Full-Width Block-Style Segmented CSS Breadcrumb Bar
  12. 12CSS Custom-Property Accent-Color Toggle Breadcrumb
  13. 13Seamless Arrow-Cutout CSS3 Breadcrumb Trail
  14. 14Compact Icon-Only Home Node CSS Breadcrumb Bar
  15. 15Segmented Rounded-Outline Pill CSS Breadcrumb
  16. 16Neumorphic Soft Inset-Shadow CSS Breadcrumbs
  17. 17CSS Grid Auto-Fitting Responsive Breadcrumb Trail
  18. 18NFT/Web3 Holographic Shimmer Breadcrumb Component
  19. 19SaaS Marketing Site Gradient Text Breadcrumb Bar
  20. 20Airbnb-Style Filter Chip Breadcrumb Navigation with Icons
  21. 21Editorial Blog Breadcrumb with Animated Wave Underline Hover
  22. 22Developer Docs Breadcrumb with One-Click Path Copy to Clipboard
  23. 23Modern Pure CSS Arrow Breadcrumb Bar using clip-path Polygons
  24. 24Multi-Line Aligned CSS Grid Subgrid Breadcrumb Layout
  25. 25Interactive Breadcrumb Links with Animated CSS Underline Glow
  26. 26Minimalist CSS Breadcrumb with Custom SVG Separators
  27. 27Multi-Step Checkout & Form Wizard CSS Breadcrumb Indicator
  28. 28Pure CSS Ribbon-Style Chevron Breadcrumb Trail
  29. 29Pill-Shape Badge CSS Breadcrumb Bar UI
  30. 30Clean Line-Separator Minimalist CSS Breadcrumbs
  31. 31Gradient Background Glow CSS Breadcrumb Bar
  32. 32Floating Card Shadow CSS Breadcrumb Navigation
  33. 33Truncated Ellipsis Compact CSS Mobile Breadcrumb
  34. 34Inline Bullet-Point Dot Separator CSS Breadcrumb
  35. 35Skewed Parallel Quadrilateral CSS Breadcrumb Bar
  36. 36Outline Border-Only Geometric CSS Breadcrumbs
  37. 37Circular Icon & Numbered CSS Step Breadcrumbs
  38. 38Frosted Glass Dark UI CSS Breadcrumb Component
  39. 39Modern Micro-Interaction Animated Hover Breadcrumbs
Pure CSSMIT licensed

Segmented Rounded-Outline Pill CSS Breadcrumb

A refined outline-only pill breadcrumb: each crumb is framed in a thin rounded border with no fill, so the trail reads as a row of elegant capsule outlines. Hover fills the pill softly; the current crumb becomes a solid accent capsule. The understated, high-craft treatment for premium product UIs.

Live Demo
Plain CSSTailwind v4
Try it

Build interactive UI like this from scratch: 20 HTML, CSS & JavaScript projects

ZTM · JavaScript Web Projects · 30‑day money-back guarantee · Affiliate link

10% off at checkout with code
Check ZTM Course

The code

<nav class="bc-15" aria-label="Breadcrumb">
  <ol>
    <li><a href="#">Home</a></li>
    <li><a href="#">Workspace</a></li>
    <li><a href="#">Boards</a></li>
    <li><a href="#" aria-current="page">Roadmap</a></li>
  </ol>
</nav>
.bc-15 {
  display: grid;
  width: 100%;
  min-height: 100vh;
  --accent: oklch(0.55 0.15 250);
  font-family: system-ui,'Segoe UI',sans-serif;
  padding: 30px;
  background: oklch(0.99 0.003 250);
  place-items: center;
}

.bc-15 * {
  box-sizing: border-box;
}

.bc-15 ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-15 li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bc-15 li:not(:last-child)::after {
  content: "›";
  color: oklch(0.75 0.02 250);
  font-size: 13px;
}

.bc-15 a {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 9999px;
  font: 600 13px/1 system-ui,sans-serif;
  color: oklch(0.48 0.03 250);
  text-decoration: none;
  border: 1.5px solid oklch(0.86 0.01 250);
  background: transparent;
  transition: background-color .18s ease,border-color .18s ease,color .18s ease;
}

.bc-15 a:hover {
  color: var(--accent);
  border-color: color-mix(in oklab,var(--accent) 50%,oklch(0.86 0.01 250));
  background: color-mix(in oklab,var(--accent) 8%,transparent);
}

.bc-15 a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.bc-15 li[aria-current="page"] a {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .bc-15 a {
    transition: none;
  }
}
/* No JavaScript — border-only rounded pills at rest; hover washes a faint color-mix() tint and the current page becomes a solid accent capsule. */
Paste this into ChatGPT, Claude, Cursor, or any coding assistant. The block below is pre-framed with everything the AI needs to integrate this demo into your project — markup, styles, scoping notes, and the source URL. Hit Copy and paste straight into your chat.
Here's a working CSS Breadcrumb from CodeFronts. Use it as-is or adapt to your framework. All classes are scoped under a unique prefix so the code won't collide with your existing styles. MIT licensed.
Demo: Segmented Rounded-Outline Pill CSS Breadcrumb
Source: https://codefronts.com/navigation/css-breadcrumbs/segmented-rounded-outline-pill-css-breadcrumb/

A refined outline-only pill breadcrumb: each crumb is framed in a thin rounded border with no fill, so the trail reads as a row of elegant capsule outlines. Hover fills the pill softly; the current crumb becomes a solid accent capsule. The understated, high-craft treatment for premium product UIs.
## HTML
```html
<nav class="bc-15" aria-label="Breadcrumb">
  <ol>
    <li><a href="#">Home</a></li>
    <li><a href="#">Workspace</a></li>
    <li><a href="#">Boards</a></li>
    <li><a href="#" aria-current="page">Roadmap</a></li>
  </ol>
</nav>
```
## CSS
```css
.bc-15 {
  display: grid;
  width: 100%;
  min-height: 100vh;
  --accent: oklch(0.55 0.15 250);
  font-family: system-ui,'Segoe UI',sans-serif;
  padding: 30px;
  background: oklch(0.99 0.003 250);
  place-items: center;
}

.bc-15 * {
  box-sizing: border-box;
}

.bc-15 ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bc-15 li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.bc-15 li:not(:last-child)::after {
  content: "›";
  color: oklch(0.75 0.02 250);
  font-size: 13px;
}

.bc-15 a {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 9999px;
  font: 600 13px/1 system-ui,sans-serif;
  color: oklch(0.48 0.03 250);
  text-decoration: none;
  border: 1.5px solid oklch(0.86 0.01 250);
  background: transparent;
  transition: background-color .18s ease,border-color .18s ease,color .18s ease;
}

.bc-15 a:hover {
  color: var(--accent);
  border-color: color-mix(in oklab,var(--accent) 50%,oklch(0.86 0.01 250));
  background: color-mix(in oklab,var(--accent) 8%,transparent);
}

.bc-15 a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.bc-15 li[aria-current="page"] a {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .bc-15 a {
    transition: none;
  }
}
```

## JavaScript
```js
/* No JavaScript — border-only rounded pills at rest; hover washes a faint color-mix() tint and the current page becomes a solid accent capsule. */
```

How this works

Each crumb is a fully-rounded (border-radius:9999px) capsule with a 1.5px border and a transparent fill, so only the outline shows — a lighter, more refined cousin of the solid pill (demo 15). The border colour is a soft neutral; the text a muted ink. Layout is flex with gap, so outlines keep even spacing and wrap cleanly. Optional tiny chevrons between pills add direction, or the gap alone can imply sequence.

State is a gentle fill progression: :hover/:focus-visible washes the pill with a faint accent tint and darkens its border and text; the current page becomes a solid accent capsule with white text and no border, the clear endpoint against the field of outlines. Because it's border-only at rest, the trail feels airy and premium — it sits well on white product surfaces and in settings panels where a heavy filled trail would feel loud. Focus rings sit cleanly outside the pill.

Make it yours

  • Border weight + colour set the craft level — 1px cool-grey reads premium; 2px accent reads bolder.
  • Fill-on-hover strength is one color-mix() percentage — keep it faint for elegance.
  • Current pill: solid accent (shown) or a heavier accent outline if you want an all-outline trail.
  • Add a subtle backdrop-filter to the pills for a frosted-outline look on busy backgrounds.

Gotchas — read before shipping

  • Border-only pills rely on the border for contrast — ensure the outline clears 3:1 against the page for the non-text boundary.
  • Text inside must still clear 4.5:1 on the PAGE colour (no fill at rest) — muted ink, not pale grey.
  • When the current pill goes solid, verify white text contrast on the accent (oklch lightness ≤ 0.62).
  • Use gap, not margins, so wrapping stays even — same rule as the filled pill demo.

Browser support

ChromeSafariFirefoxEdge
111+15.4+113+111+

color-mix() (2023) tints the hover fill; the rest (radius, border, flex gap) is universal. Swap color-mix() for a static tint to go fully back-compatible.

Techniques used in this demo

Search CodeFronts

Loading…