in English
Kuonekwa
Dzora kuoneka, pasina kugadzirisa chiratidziro, chezvinhu zvine zvinoonekwa zvinoshandiswa.
Seta iyo visibility
yezvinhu nezvishandiso zvedu zvekuonekwa. Aya makirasi ekushandisa haagadzirise display
kukosha zvachose uye haakanganisa marongero - .invisible
zvinhu zvichiri kutora nzvimbo mune peji. Zvemukati zvichavanzwa zvese zvinoonekwa uye zvekubatsira tekinoroji / screen reader vashandisi.
Isa .visible
kana .invisible
sezvinodiwa.
<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);
}