🍞CSS breadcrumbs
creating a kind of secondary navigation
Breadcrumbs provide a linear navigation that shows
where the current page lies
relative to the home page
...and the path that led to the current page
They thus provide a hierarchical "trail" of "crumbs" back to the home page, e.g.:
HTML
To implement this, we use an unordered list:
index.html
CSS
To style this, we make that unordered list, an inline list, then place a separator using the ::before
pseudoclass:
style.css
Last updated