in English

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 chav kawm siv hluav taws xob no tsis hloov pauv tus displaynqi ntawm txhua qhov thiab tsis cuam tshuam rau kev teeb tsa - .invisiblecov ntsiab lus tseem siv qhov chaw hauv nplooj ntawv. Cov ntsiab lus yuav muab zais ob qho tib si pom thiab rau cov cuab yeej pabcuam / cov neeg siv tshuaj ntsuam nyeem ntawv.

Thov .visiblelos yog .invisibleraws li xav tau.

<div class="visible">...</div>
<div class="invisible">...</div>
// Class
.visible {
  visibility: visible !important;
}
.invisible {
  visibility: hidden !important;
}

// Usage as a mixin
// Warning: The `invisible()` mixin has been deprecated as of v4.3.0. It will be removed entirely in v5.
.element {
  @include invisible(visible);
}
.element {
  @include invisible(hidden);
}