Gurasa gurasa
Nuna wurin shafin na yanzu a cikin tsarin kewayawa wanda ke ƙara masu rarraba ta atomatik ta CSS.
Misali
Canza mai raba
Ana ƙara masu rarraba ta atomatik a cikin CSS ta hanyar ::before
da content
. Ana iya canza su ta hanyar canzawa $breadcrumb-divider
. Ana buƙatar aikin ƙididdiga don samar da ƙididdiga a kusa da kirtani, don haka idan kuna so >
a matsayin mai raba, za ku iya amfani da wannan:
$breadcrumb-divider: quote(">");
Hakanan yana yiwuwa a yi amfani da gunkin SVG mai tushe64 :
$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);
Ana iya cire mai raba ta hanyar saitin $breadcrumb-divider
zuwa none
:
$breadcrumb-divider: none;
Dama
Tun da gurasar burodi ta ba da kewayawa, yana da kyau a ƙara lakabi mai ma'ana kamar aria-label="breadcrumb"
bayyana nau'in kewayawa da aka bayar a cikin <nav>
kashi, da kuma amfani da aria-current="page"
abu na ƙarshe na saitin don nuna cewa yana wakiltar shafin na yanzu.
Don ƙarin bayani, duba Ayyukan Rubuce-rubucen WAI-ARIA don tsarin biredi .