in English
Nneɛma a wotumi hu
Di visibility so, a wonsakra display no, elements a visibility utilities.
Set the visibility
of elements ne yɛn visibility utilities no. Saa utility classes yi nsakra display
botae no koraa na ɛnka layout – .invisible
elements da so ara gye baabi wɔ krataafa no mu. Wɔde nsɛm a ɛwɔ mu no besie wɔ aniwa so ne wɔn a wɔde mfiridwuma/screen akenkanfo a wɔde boa di dwuma no nyinaa.
Fa di dwuma .visible
anaa .invisible
sɛnea ɛho hia.
<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);
}