in English
Kuonekwa
Dzora kuoneka kwezvinhu, usingagadzirise kuratidzwa kwadzo, nezvishandiso zvekuonekwa.
Seta iyo visibility
yezvinhu nezvishandiso zvedu zvekuonekwa. Aya makirasi ekushandisa haagadzirise display
kukosha zvachose uye haakanganisa marongero - .invisible
zvinhu zvichiri kutora nzvimbo mune peji.
Zvinhu zvine
.invisible
kirasi zvichavanzwa
zvese zvinoonekwa uye zvekubatsira tekinoroji / vanoverenga skrini vashandisi.
Isa .visible
kana .invisible
sezvinodiwa.
<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
visibility: visible !important;
}
.invisible {
visibility: hidden !important;
}
Sass
Purogiramu inonzi Utilities
Zvishandiso zvekuonekwa zvinoziviswa mune zvedu zvekushandisa API mu scss/_utilities.scss
. Dzidza mashandisiro ezvishandiso API.
"visibility": (
property: visibility,
class: null,
values: (
visible: visible,
invisible: hidden,
)
)