Source

Ponahalo

Laola ponahalo, ntle le ho fetola ponahalo, ea likarolo tse nang le lisebelisoa tsa ponahalo.

Beha visibilitylintlha ka lisebelisoa tsa rona tsa ponahalo. Lihlopha tsena tsa lisebelisoa ha li fetole displayboleng ho hang ebile ha li ame sebopeho - .invisiblelikarolo li ntse li nka sebaka leqepheng. Litaba li tla patoa ka pono le bakeng sa basebelisi ba theknoloji e thusang / babali ba skrineng.

Etsa kopo .visiblekapa .invisiblekamoo ho hlokahalang.

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