in English
Ku vonakala
Lawula ku vonakala ka swiaki, handle ko cinca nkombiso wa swona, hi switirhisiwa swa ku vonakala.
Seta the visibility
ya swiaki hi switirhisiwa swa hina swa ku vonakala. Titlilasi leti ta vukorhokeri a ti cinci display
nkoka nikatsongo naswona a ti khumbi layout – .invisible
swiaki swa ha teka ndhawu eka pheji.
Swiaki leswi nga na
.invisible
tlilasi swi ta fihliwa
hi ku vona na le ka vatirhisi va thekinoloji yo pfuneta/swihlaya swa xikirini.
Endla xikombelo .visible
kumbe .invisible
hilaha swi lavekaka hakona.
<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
visibility: visible !important;
}
.invisible {
visibility: hidden !important;
}
Sass
API ya switirhisiwa
Switirhisiwa swa ku vonakala swi tivisiwile eka API ya hina ya switirhisiwa hi scss/_utilities.scss
. Dyondza ndlela yo tirhisa API ya switirhisiwa.
"visibility": (
property: visibility,
class: null,
values: (
visible: visible,
invisible: hidden,
)
)