Xiphemu xa xinkwa
Kombisa ndhawu ya tluka ra sweswi endzeni ka xiyimo xa ku famba-famba lexi hi xoxe xi engetelaka swihambanisi hi ku tirhisa CSS.
Xikombiso
Ku cinca xihambanisi
Swihambanisi swi engeteriwa hi ku tisungulela eka CSS hi ku tirhisa ::before
na content
. Swi nga cinciwa hi ku cinca $breadcrumb-divider
. Ntirho wa switlhokovetselo wa laveka ku tumbuluxa switlhokovetselo ku rhendzela ntambhu, kutani loko u lava >
tanihi xihambanisi, u nga tirhisa leswi:
$breadcrumb-divider: quote(">");
Swi tlhela swi koteka ku tirhisa xifaniso xa SVG lexi nghenisiweke xa base64 :
$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);
Xihambanisi xi nga susiwa hi ku veka $breadcrumb-divider
eka none
:
$breadcrumb-divider: none;
Ku fikelela
Leswi ti breadcrumbs ti nyikaka ku fambafamba, i mhaka ya kahle ku engetela lebula leyi nga na nhlamuselo yo fana na aria-label="breadcrumb"
ku hlamusela muxaka wa ku fambafamba loku nyikiweke eka <nav>
elemente, xikan’we na ku tirhisa an aria-current="page"
eka nchumu wo hetelela wa sete ku kombisa leswaku yi yimela tluka ra sweswi.
Ku kuma vuxokoxoko byo tala, vona Maendlelo ya Vutsari ya WAI-ARIA ya xivumbeko xa breadcrumb .