Files
probot.github.io/node_modules/primer-breadcrumb
2017-07-03 16:17:14 -05:00
..
2017-07-03 16:17:14 -05:00
2017-07-03 16:17:14 -05:00
2017-07-03 16:17:14 -05:00
2017-07-03 16:17:14 -05:00
2017-07-03 16:17:14 -05:00
2017-07-03 16:17:14 -05:00
2017-07-03 16:17:14 -05:00

Primer Marketing CSS Breadcrumb Navigation

npm version Build Status

Breadcrumb navigation for GitHub's marketing pages with parents / grandparents.

This repository is a module of the full primer-css repository.

Documentation

Breadcrumbs are used to show taxonomical context on pages that are many levels deep in a sites hierarchy. Breadcrumbs show and link to parent, grandparent, and sometimes great-grandparent pages. Breadcrumbs are most appropriate on pages that:

  • Are many levels deep on a site
  • Do not have a section-level navigation
  • May need the ability to quickly go back to the previous (parent) page

Usage

<nav aria-label="Breadcrumb">
  <ol>
    <li class="breadcrumb-item text-small"><a href="/business">Business</a></li>
    <li class="breadcrumb-item text-small"><a href="/business/customers">Customers</a></li>
    <li class="breadcrumb-item breadcrumb-item-selected text-small text-gray" aria-current="page">MailChimp</li>
  </ol>
</nav>

License

MIT © GitHub