Source

Ganuwa

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

Saita visibilityabubuwa tare da kayan aikin ganuwanmu. Waɗannan azuzuwan mai amfani ba sa canza displayƙima kwata-kwata kuma ba sa shafar shimfidar wuri - .invisibleabubuwa har yanzu suna ɗaukar sarari a cikin shafin. Za a ɓoye abun ciki 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;
}
.invisible {
  visibility: hidden;
}

// Usage as a mixin
.element {
  @include invisible(visible);
}
.element {
  @include invisible(hidden);
}