Ṣakoso hihan, laisi iyipada ifihan, ti awọn eroja pẹlu awọn ohun elo hihan.

Ṣeto awọn visibilityeroja pẹlu awọn ohun elo hihan wa. Awọn kilasi IwUlO wọnyi ko ṣe atunṣe displayiye rara ati pe ko ni ipa lori ifilelẹ – .invisibleawọn eroja ṣi gba aaye ni oju-iwe naa. Akoonu yoo farapamọ ni oju mejeeji ati fun imọ-ẹrọ iranlọwọ / awọn olumulo oluka iboju.

Waye .visibletabi .invisiblebi o ṣe nilo.

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