Source

Kuonekwa

Dzora kuoneka, pasina kugadzirisa chiratidziro, chezvinhu zvine zvinoonekwa zvinoshandiswa.

Seta iyo visibilityyezvinhu nezvishandiso zvedu zvekuonekwa. Aya makirasi ekushandisa haagadzirise displaykukosha zvachose uye haakanganisa marongero - .invisiblezvinhu zvichiri kutora nzvimbo mune peji. Zvemukati zvichavanzwa zvese zvinoonekwa uye zvekubatsira tekinoroji / screen reader vashandisi.

Isa .visiblekana .invisiblesezvinodiwa.

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