in English
Ukubonakala
Lawula imbonakalo, ngaphandle kokuguqula umboniso, wezinto ezinoncedo olubonakalayo.
Seta i visibility
-elementi kunye nezixhobo zethu zokubonakala. Ezi klasi ziluncedo aziliguquli display
xabiso kwaphela kwaye azichaphazeli uyilo – .invisible
izinto zisathatha indawo kwiphepha. Umxholo uya kufihlwa ngokubonakalayo kunye nokuncedisa iteknoloji / abasebenzisi bokufunda isikrini.
Faka isicelo .visible
okanye .invisible
njengoko kuyimfuneko.
<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);
}