in English
Nukpɔkpɔ ƒe ŋutete
Kpɔ nuawo ƒe nukpɔkpɔ dzi, màtrɔ asi le woƒe ɖeɖefia ŋu o, kple nukpɔkpɔ ƒe dɔwɔnuwo.
Ðo nuawo visibility
ƒe akpawo kple míaƒe nukpɔkpɔ ƒe dɔwɔnuwo. Dɔwɔnu ƒe hatsotso siawo metrɔa asi le display
asixɔxɔa ŋu kura o eye womekpɔa ŋusẽ ɖe ɖoɖowɔwɔ dzi o – .invisible
nuawo gakpɔtɔ xɔa teƒe le axaa dzi.
Woaɣla nusiwo le
.invisible
klass la me
le nukpɔkpɔ me kple na kpekpeɖeŋu mɔ̃ɖaŋununya/screen reader zãlawo siaa.
Zãe .visible
alo .invisible
ne ehiã.
<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
visibility: visible !important;
}
.invisible {
visibility: hidden !important;
}
Sass ƒe nyawo
Dɔwɔnuwo ƒe API
Woɖe gbeƒã nukpɔkpɔ ƒe dɔwɔnuwo le míaƒe dɔwɔnuwo API me le scss/_utilities.scss
. Srɔ̃ alesi nàzã utilities API lae.
"visibility": (
property: visibility,
class: null,
values: (
visible: visible,
invisible: hidden,
)
)