in English
Kuwoneka
Sinthani mawonekedwe a zinthu, osasintha mawonekedwe awo, ndi zowoneka.
Khazikitsani ma visibility
element ndi zida zathu zowonekera. Maphunziro ofunikirawa sasintha display
mtengo konse ndipo samakhudza masanjidwe - .invisible
zinthu zimangotenga malo patsamba.
Zinthu zomwe zili ndi
.invisible
kalasi zidzabisika
zonse zowoneka komanso zothandizira ukadaulo / ogwiritsa ntchito pazenera.
Ikani .visible
kapena .invisible
pakufunika.
<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
visibility: visible !important;
}
.invisible {
visibility: hidden !important;
}
Sass
Utilities API
Zowoneka bwino zimalengezedwa muzothandizira zathu API mu scss/_utilities.scss
. Phunzirani momwe mungagwiritsire ntchito API.
"visibility": (
property: visibility,
class: null,
values: (
visible: visible,
invisible: hidden,
)
)