Bohobe
Hlahisa sebaka sa leqephe la hajoale ka har'a sehlopha sa maemo a marang-rang se eketsang likarohano ka CSS.
Li arola li kenyelletsoa ka bo eona ho CSS ka ::before
le content
. Li ka fetoloa ka ho fetoha $breadcrumb-divider
. Mosebetsi oa quote oa hlokahala ho hlahisa mantsoe a qotsitsoeng ho potoloha khoele, kahoo haeba u batla >
ho ba seperator, u ka sebelisa sena:
$breadcrumb-divider: quote(">");
Hape hoa khonahala ho sebelisa lets'oao le kentsoeng la base64 la SVG :
$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);
Searohanyi se ka tlosoa ka ho seta $breadcrumb-divider
ho none
:
$breadcrumb-divider: none;
Kaha li-breadcrumbs li fana ka mokhoa oa ho tsamaea, ke khopolo e ntle ho kenya letšoao le nang le moelelo joalo ka aria-label="breadcrumb"
ho hlalosa mofuta oa ho tsamaea o fanoeng karolong <nav>
, hammoho le ho sebelisa ntho aria-current="page"
ea ho qetela ea sete ho bontša hore e emela leqephe la hona joale.
Bakeng sa lintlha tse ling, sheba Mekhoa ea Bongoli ea WAI-ARIA bakeng sa mokhoa oa breadcrumb .