Source

Umugati

Erekana urupapuro ruriho ubu murwego rwo kugendagenda ruhita rwongera abatandukanya binyuze muri CSS.

Urugero

<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item active" aria-current="page">Home</li>
  </ol>
</nav>

<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="#">Home</a></li>
    <li class="breadcrumb-item active" aria-current="page">Library</li>
  </ol>
</nav>

<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="#">Home</a></li>
    <li class="breadcrumb-item"><a href="#">Library</a></li>
    <li class="breadcrumb-item active" aria-current="page">Data</li>
  </ol>
</nav>

Guhindura itandukaniro

Abitandukanya bahita bongerwaho muri CSS binyuze ::beforena content. Birashobora guhinduka muguhindura $breadcrumb-divider. Imikorere ya cote irakenewe kugirango ubyare ibisobanuro hafi yumurongo, niba rero ushaka >nka seperator, urashobora gukoresha ibi:

$breadcrumb-divider: quote(">");

Birashoboka kandi gukoresha base64 yashyizwemo agashusho ka SVG :

$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);

Gutandukanya birashobora gukurwaho $breadcrumb-dividermugushiraho none:

$breadcrumb-divider: none;

Kuboneka

Kubera ko imigati itanga kugendagenda, nibyiza ko wongeraho ikirango gifatika nko aria-label="breadcrumb"gusobanura ubwoko bwubwikorezi butangwa <nav>mubintu, kimwe no gukoresha ikintu aria-current="page"cyanyuma cyashizweho kugirango werekane ko gihagarariye page iriho.

Kubindi bisobanuro, reba imyitozo ya WAI-ARIA yo kwandikisha imigati .