in English
Hihan
Ṣakoso hihan, laisi iyipada ifihan, ti awọn eroja pẹlu awọn ohun elo hihan.
Ṣeto awọn visibility
eroja pẹlu awọn ohun elo hihan wa. Awọn kilasi IwUlO wọnyi ko ṣe atunṣe display
iye rara ati pe ko ni ipa lori ifilelẹ – .invisible
awọ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 .visible
tabi .invisible
bi 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);
}