28 CSS Breadcrumbs

This collection offers versatile solutions for navigation trails, ranging from semantic text lists to chevron-shaped arrows built with clip-path. Pseudo-elements ::after are leveraged to auto-generate separators, keeping the HTML markup clean and accessible. For better responsiveness, text-overflow: ellipsis and white-space: nowrap are applied to gracefully truncate long paths on smaller screens. These patterns ensure clear site hierarchy and improved user experience across all devices.

Last updated:

thumbnail: Breadcrumb Separators with :has()

Breadcrumb Separators with :has()

This component showcases a modern and efficient way to style breadcrumb separators using the powerful CSS :has() selector, allowing precise placement of ::after elements only between active links, thus eliminating the need for JavaScript.