1
1
mirror of https://github.com/primer/css.git synced 2024-12-02 07:53:06 +03:00
css/modules/primer-popover/README.md
2017-10-26 15:31:29 -05:00

1.6 KiB
Raw Blame History

Primer CSS Breadcrumb Navigation

npm version Build Status

Popover for suggesting, guiding, and bringing attention to specific UI elements on a page.

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

<div class="Popover top-right position-absolute right-0 js-notice p-4 Box">
  <h4 class="mb-2">Popover heading</h4>
  <p>Message about this particular piece of UI.</p>
  <button type="submit" class="js-notice-dismiss btn btn-outline mt-2 text-bold">Got it!</button>
</div>

License

MIT © GitHub