Salá koleka na makambo ya ntina Salta na navigation ya docs
Check
in English

Opacité

Contrôlez l'opacité ya ba éléments.

Propriété opacityetie niveau ya opacité pona élément moko. Niveau ya opacité elimboli niveau ya transparence, esika 1ezali transparent ata moke te, .5ezali 50% visible, mpe 0ezali entièrement transparent.

Set ya opacityya élément moko na nzela ya .opacity-{value}ba utilitaires.

100% ya .
75% ya .
50% ya .
25% ya .
<div class="opacity-100">...</div>
<div class="opacity-75">...</div>
<div class="opacity-50">...</div>
<div class="opacity-25">...</div>

API ya ba utilitaires

Ba utilitaires ya opacité esakolami na API ya ba utilitaires na biso na scss/_utilities.scss. Yekola ndenge ya kosalela API ya ba utilitaires.

    "opacity": (
      property: opacity,
      values: (
        0: 0,
        25: .25,
        50: .5,
        75: .75,
        100: 1,
      )
    ),