Yeqela kokuqukethwe okuyinhloko Yeqela ku-docs navigation
Check
in English

Umthetho oqondile

Sebenzisa umsizi womthetho ome mpo wangokwezifiso ukuze udale izihlukanisi eziqondile njenge- <hr>elementi.

Kuleli khasi

Isebenza kanjani

Imithetho <hr>eqondile igqugquzelwe isici, esikuvumela ukuthi udale izihlukanisi eziqondile ezakhiweni ezifanayo. Zakhiwe njengezakhi nje <hr>:

  • Zibanzi 1px_
  • Banakho min-height_1em
  • Umbala wabo usethwe nge currentColorfuthiopacity

Enze ngendlela oyifisayo ngezitayela ezengeziwe njengoba kudingeka.

Isibonelo

html
<div class="vr"></div>

Imithetho eqondile ikala ubude bayo ngezakhiwo eziguquguqukayo:

html
<div class="d-flex" style="height: 200px;">
  <div class="vr"></div>
</div>

Ngezitaki

Zingasetshenziswa futhi ku- stacks :

Into yokuqala
Into yesibili
Into yesithathu
html
<div class="hstack gap-3">
  <div class="bg-light border">First item</div>
  <div class="bg-light border ms-auto">Second item</div>
  <div class="vr"></div>
  <div class="bg-light border">Third item</div>
</div>