Tsibela kumxholo ophambili Tsiba uye kukhangelo lwamaxwebhu
in English

Ukubonakala

Lawula ukubonakala kwezinto, ngaphandle kokuguqula umboniso wazo, kunye nezixhobo zokubonakala.

Seta i visibility-elementi kunye nezixhobo zethu zokubonakala. Ezi klasi ziluncedo aziliguquli displayxabiso kwaphela kwaye azichaphazeli uyilo – .invisibleizinto zisathatha indawo kwiphepha.

Izinto ezineklasi .invisibleziya kufihlwa zombini kunye neteknoloji yokuncedisa / abasebenzisi bokufunda isikrini.

Faka isicelo .visibleokanye .invisiblenjengoko kuyimfuneko.

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

Sass

Utilities API

Izinto ezibonakalayo zibhengezwa kwizinto eziluncedo zethu kwi-API kwi scss/_utilities.scss. Funda indlela yokusebenzisa izinto eziluncedo API.

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