Source

Ukubonakala

Lawula ukubonakala, ngaphandle kokushintsha isibonisi, sezinto ezinezinsiza ezibonakalayo.

Setha ama visibility-elementi ngezinsiza zethu zokubonakala. Lezi aziliguquli nhlobo displayinani futhi ziwusizo ekufihleni okuqukethwe kubasebenzisi abaningi, kodwa zilokhu zikugcinele izifundi zesikrini.

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);
}