Source

Ukubonakala

Lawula ukubonakala, ngaphandle kokushintsha isibonisi, sezinto ezinezinsiza ezibonakalayo.

Setha ama visibility-elementi ngezinsiza zethu zokubonakala. Lezi zigaba zensiza aziliguquli nhlobo displayinani futhi azithinti isakhiwo - .invisibleizici zisadla isikhala ekhasini. Okuqukethwe kuzofihlwa kokubili ngokubonakalayo nakubasebenzisi bobuchwepheshe obusizayo/abafunda isikrini.

Faka isicelo .visiblenoma .invisiblenjengoba kudingeka.

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

// Usage as a mixin
.element {
  @include invisible(visible);
}
.element {
  @include invisible(hidden);
}