in English
Kugaragara
Igenzura kugaragara kwibintu, udahinduye ibyerekanwe, hamwe nibikorwa bifatika.
Shiraho visibility
ibintu hamwe nibikorwa byacu bigaragara. Ibyiciro byingirakamaro ntabwo bihindura display
agaciro na gato kandi ntabwo bigira ingaruka kumiterere - .invisible
ibintu biracyafata umwanya murupapuro.
Ibintu hamwe
.invisible
nishuri bizahishwa
haba muburyo bugaragara no kubakoresha ikorana buhanga / abakoresha abasoma ecran.
Saba .visible
cyangwa .invisible
nkuko bikenewe.
<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
visibility: visible !important;
}
.invisible {
visibility: hidden !important;
}
Sass
Ibikorwa API
Ibikorwa biboneka byatangajwe mubikorwa byacu API muri scss/_utilities.scss
. Wige gukoresha ibikoresho API.
"visibility": (
property: visibility,
class: null,
values: (
visible: visible,
invisible: hidden,
)
)