in English

Burburka rootiga

Tilmaan bogga hadda meesha uu ku yaallo ee ku dhex jirta kala sareynta hagaha oo si toos ah ugu dara kala soocida CSS.

Tusaale

<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item active" aria-current="page">Home</li>
  </ol>
</nav>

<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="#">Home</a></li>
    <li class="breadcrumb-item active" aria-current="page">Library</li>
  </ol>
</nav>

<nav aria-label="breadcrumb">
  <ol class="breadcrumb">
    <li class="breadcrumb-item"><a href="#">Home</a></li>
    <li class="breadcrumb-item"><a href="#">Library</a></li>
    <li class="breadcrumb-item active" aria-current="page">Data</li>
  </ol>
</nav>

Beddelida kala soocida

Kala soocida ayaa si toos ah loogu daraa CSS iyada oo loo marayo ::beforeiyo content. Waxa lagu beddeli karaa in la beddelo $breadcrumb-divider. Shaqada xigashada ayaa loo baahan yahay si loo soo saaro oraahyada ku wareegsan xargaha, markaa haddii aad rabto >kala soociye ahaan, waxaad isticmaali kartaa tan:

$breadcrumb-divider: quote(">");

Waxa kale oo suurtagal ah in la isticmaalo astaanta SVG ee base64 :

$breadcrumb-divider: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+);

Kala soocida waxaa laga saari karaa iyadoo la $breadcrumb-dividerdejinayo none:

$breadcrumb-divider: none;

Helitaanka

Mar haddii roodhidu ay bixiso hagitaan, waa fikrad wanaagsan in lagu daro calaamad macno leh sida aria-label="breadcrumb"sifaynta nooca navigation ee lagu bixiyay <nav>curiyaha, iyo sidoo kale in lagu dabaqo aria-current="page"shayga ugu dambeeya ee set si uu u muujiyo in uu matalo bogga hadda jira.

Macluumaad intaas ka badan, eeg ARIA Hagaha Dhaqamada Qorista Hannaanka rootida .