in English
Vizibilite
Kontwole vizibilite a, san yo pa modifye ekspozisyon an, nan eleman ak sèvis piblik vizibilite.
Mete visibility
eleman yo ak sèvis piblik vizibilite nou yo. Klas sèvis piblik sa yo pa modifye display
valè a ditou epi yo pa afekte layout - .invisible
eleman toujou pran espas nan paj la. Kontni yo pral kache tou de vizyèlman ak pou itilizatè teknoloji asistans/ekran lektè.
Aplike .visible
oswa .invisible
jan sa nesesè.
<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);
}