Source

Kugaragara

Igenzura ibiboneka, udahinduye ibyerekanwe, byibintu bifite akamaro gakomeye.

Shiraho visibilityibintu hamwe nibikorwa byacu bigaragara. Ibyiciro byingirakamaro ntabwo bihindura displayagaciro na gato kandi ntabwo bigira ingaruka kumiterere - .invisibleibintu biracyafata umwanya murupapuro. Ibirimo bizahishwa haba muburyo bugaragara no kubakoresha ubufasha bwikoranabuhanga / abakoresha abasoma ecran.

Saba .visiblecyangwa .invisiblenkuko bikenewe.

<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);
}