Biloko ya kosala mampa
Lakisa esika ya lokasa ya lelo na kati ya hiérarchie ya navigation oyo ebakisi automatiquement ba séparateurs na nzela ya CSS.
Ba séparateurs ebakisami automatiquement na CSS na nzela ya ::before
mpe content
. Bakoki kobongwana na kobongola yango $breadcrumb-divider
. Fonction ya citatio esengeli mpo na kobimisa ba citations zingazinga ya molongo moko, yango wana soki olingi >
lokola seperator, okoki kosalela oyo:
$breadcrumb-divider: quote(">");
Ezali mpe na nzela ya kosalela elembo ya SVG oyo ezali na kati ya base64 :
$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);
Separateur ekoki kolongolama na kotiya $breadcrumb-divider
na none
:
$breadcrumb-divider: none;
Lokola breadcrumbs epesaka navigation, ezali likanisi malamu kobakisa étiquette ya tina lokola aria-label="breadcrumb"
kolimbola lolenge ya navigation oyo epesami na <nav>
élément, mpe lisusu kosalela an aria-current="page"
na eloko ya suka ya ensemble mpo na kolakisa ete ezali komonisa lokasa ya lelo.
Mpo na koyeba makambo mingi, tala Mimeseno ya Bokomi ya WAI-ARIA mpo na motindo ya kokata mampa .