Svetuka kune chikuru content Svetuka kuenda kudocs navigation
in English

Kuonekwa

Dzora kuoneka kwezvinhu, usingagadzirise kuratidzwa kwadzo, nezvishandiso zvekuonekwa.

Seta iyo visibilityyezvinhu nezvishandiso zvedu zvekuonekwa. Aya makirasi ekushandisa haagadzirise displaykukosha zvachose uye haakanganisa marongero - .invisiblezvinhu zvichiri kutora nzvimbo mune peji.

Zvinhu zvine .invisiblekirasi zvichavanzwa zvese zvinoonekwa uye zvekubatsira tekinoroji / vanoverenga skrini vashandisi.

Isa .visiblekana .invisiblesezvinodiwa.

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

Sass

Purogiramu inonzi Utilities

Zvishandiso zvekuonekwa zvinoziviswa mune zvedu zvekushandisa API mu scss/_utilities.scss. Dzidza mashandisiro ezvishandiso API.

    "visibility": (
      property: visibility,
      class: null,
      values: (
        visible: visible,
        invisible: hidden,
      )
    )