Umugati
Erekana urupapuro rwubu aho ruherereye murwego rwo kugendana uhita wongera abatandukanya ukoresheje CSS.
Urugero
Guhindura itandukaniro
Abitandukanya bahita bongerwaho muri CSS binyuze ::before
na content
. Birashobora guhinduka muguhindura $breadcrumb-divider
. Imikorere ya cote irakenewe kugirango ubyare ibisobanuro hafi yumurongo, niba rero ushaka >
nkuwitandukanije, 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-divider
mugushiraho 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 .