Main content ah kal rawh Docs navigation ah kal rawh
in English

Hmuh theih a ni

Element hrang hrangte hmuh theihna control la, an display siam danglam lovin, visibility utilities hmangin control rawh.

visibilityKan visibility utilities hmangin of elements te chu set rawh . Heng utility class te hian displayvalue an siam danglam lo tak zet a, layout pawh an nghawng lo – .invisibleelements te hian page chhungah hmun an la la reng a ni.

.invisibleClass-a element awmte chu hmuh theiha thup a ni ang a, assistive technology/screen reader hmangtute tan pawh thup a ni ang.

Apply .visibleemaw .invisiblea tul angin emaw dil rawh.

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

Sass a ni

Utilities API hmanga thil tih a ni

Visibility utilities hi kan utilities API ah hian scss/_utilities.scss. Utilities API hman dan zir rawh.

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