in English
Ukubonakala
Lawula ukubonakala, ngaphandle kokushintsha isibonisi, sezinto ezinezinsiza ezibonakalayo.
Setha ama visibility
-elementi ngezinsiza zethu zokubonakala. Lezi zigaba zensiza aziliguquli nhlobo display
inani futhi azithinti isakhiwo - .invisible
izici zisadla isikhala ekhasini. Okuqukethwe kuzofihlwa kokubili ngokubonakalayo nakubasebenzisi bobuchwepheshe obusizayo/abafunda isikrini.
Faka isicelo .visible
noma .invisible
njengoba kudingeka.
<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);
}