Tlolela ho litaba tsa mantlha Tlolela ho li-docs navigation
Check
in English

Ponahalo

Laola ponahalo ea likarolo, ntle le ho fetola ponahalo ea tsona, ka lisebelisoa tsa ponahalo.

Beha visibilitylintlha ka lisebelisoa tsa rona tsa ponahalo. Lihlopha tsena tsa lisebelisoa ha li fetole displayboleng ho hang ebile ha li ame sebopeho - .invisiblelikarolo li ntse li nka sebaka leqepheng.

Lintlha tse nang le .invisiblesehlopha li tla patoa ka pono le bakeng sa basebelisi ba theknoloji e thusang / babali ba skrineng.

Etsa kopo .visiblekapa .invisiblekamoo ho hlokahalang.

<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
  visibility: visible !important;
}
.invisible {
  visibility: hidden !important;
}

Sass

Utilities API

Lisebelisoa tsa ponahalo li phatlalatsoa ho lits'ebeletso tsa rona tsa API ho scss/_utilities.scss. Ithute ho sebelisa lisebelisoa tsa API.

    "visibility": (
      property: visibility,
      class: null,
      values: (
        visible: visible,
        invisible: hidden,
      )
    )