Tsallake zuwa babban abun ciki Tsallake zuwa kewayawa na takardu
in English

Ganuwa

Sarrafa ganuwa na abubuwa, ba tare da gyaggyara nuninsu ba, tare da kayan aikin gani.

Saita visibilityabubuwa tare da kayan aikin ganuwanmu. Waɗannan azuzuwan masu amfani ba sa canza displayƙima kwata-kwata kuma ba sa shafar shimfidar wuri - .invisibleabubuwa har yanzu suna ɗaukar sarari a cikin shafin.

Abubuwan da ke tare da .invisibleajin za a ɓoye su duka a gani da kuma ga masu amfani da fasahar taimako/masu karanta allo.

Aiwatar .visibleko .invisibleyadda 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,
      )
    )