Source

Hihan

Ṣ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. Iwọnyi ko ṣe atunṣe displayiye rara ati pe o ṣe iranlọwọ fun fifipamo akoonu lati ọdọ awọn olumulo pupọ julọ, ṣugbọn ṣi tọju wọn fun awọn oluka iboju.

Waye .visibletabi .invisiblebi o ṣe nilo.

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