in English

Bredkrɔm we dɛn kin yuz fɔ mek bred

Sho usay di pej de naw insay wan nevigishɔn hayari we de ad sɛpareta dɛn ɔtomɛtik wan bay CSS.

Ɛgzampul

<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>

We dɛn de chenj di sɛpareta

Separatɔ dɛn kin ad ɔtomɛtik wan insay CSS tru ::beforeɛn content. Dɛn kin chenj dɛn bay we dɛn chenj $breadcrumb-dividerdɛn . Di kot fɛnshɔn nid fɔ jenarayz di kot dɛn we de rawnd wan string, so if yu want >as sɛpareta, yu kin yuz dis:

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

I pɔsibul bak fɔ yuz wan base64 ɛmbaded SVG aykɔn :

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

Yu kin pul di sɛpareta bay we yu sɛt $breadcrumb-divideram to none:

$breadcrumb-divider: none;

Di we aw pɔsin kin ebul fɔ go de

Bikɔs bred kram dɛn de gi yu nevigishɔn, i fayn fɔ ad wan lɛbl we gɛt minin lɛk aria-label="breadcrumb"fɔ diskrayb di kayn nevigishɔn we dɛn gi na di <nav>ɛlimɛnt, ɛn bak fɔ yuz wan aria-current="page"to di las tin na di sɛt fɔ sho se i de sho di pej we de naw.

Fɔ no mɔ, luk di ARIA Ɔtorin Praktis Gɛd breadcrumb pattern .