in English

Ukubonakala

Lawula imbonakalo, ngaphandle kokuguqula umboniso, wezinto ezinoncedo olubonakalayo.

Seta i visibility-elementi kunye nezixhobo zethu zokubonakala. Ezi klasi ziluncedo aziliguquli displayxabiso kwaphela kwaye azichaphazeli uyilo – .invisibleizinto zisathatha indawo kwiphepha. Umxholo uya kufihlwa ngokubonakalayo kunye nokuncedisa iteknoloji / 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;
}

// Usage as a mixin
// Warning: The `invisible()` mixin has been deprecated as of v4.3.0. It will be removed entirely in v5.
.element {
  @include invisible(visible);
}
.element {
  @include invisible(hidden);
}