in English
Ganuwa
Sarrafa ganuwa na abubuwa, ba tare da gyaggyara nuninsu ba, tare da kayan aikin gani.
Saita visibility
abubuwa tare da kayan aikin ganuwanmu. Waɗannan azuzuwan masu amfani ba sa canza display
ƙima kwata-kwata kuma ba sa shafar shimfidar wuri - .invisible
abubuwa har yanzu suna ɗaukar sarari a cikin shafin.
Abubuwan da ke tare da
.invisible
ajin za a ɓoye
su duka a gani da kuma ga masu amfani da fasahar taimako/masu karanta allo.
Aiwatar .visible
ko .invisible
yadda ake bukata.
<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
visibility: visible !important;
}
.invisible {
visibility: hidden !important;
}
Sass
API ɗin Utilities
Ana bayyana abubuwan amfani da gani a cikin API ɗin mu a cikin scss/_utilities.scss
. Koyi yadda ake amfani da API ɗin abubuwan amfani.
"visibility": (
property: visibility,
class: null,
values: (
visible: visible,
invisible: hidden,
)
)