Source

Tirohanga

Whakahaerehia te tirohanga, me te kore e whakarereke i te whakaaturanga, o nga huānga me nga taputapu tirohanga.

Tautuhia nga visibilityhuānga me a maatau taputapu tirohanga. Ko enei karaehe whaipainga karekau e whakarereke i te displayuara me te kore e pa ki te whakatakotoranga - .invisiblehe waahi kei te wharangi tonu nga huānga. Ka hunahia nga ihirangi ma te kanohi me te awhina mo nga kaiwhakamahi hangarau / panui mata.

Hoatuhia .visible, .invisibleka hiahiatia ranei.

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