Source

Pom kev

Tswj lub visibility, tsis hloov cov zaub, ntawm cov khoom nrog visibility utilities.

Teeb cov visibilityntsiab lus nrog peb cov khoom siv pom kev pom. Cov no tsis hloov pauv tus displaynqi ntawm txhua qhov thiab muaj txiaj ntsig zoo rau kev zais cov ntsiab lus los ntawm cov neeg siv feem ntau, tab sis tseem khaws cia rau cov neeg nyeem ntawv.

Thov .visiblelos yog .invisibleraws li xav tau.

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