Tīpoka ki te ihirangi matua Tīpoka ki te whakaterenga tuhinga
Check
in English

Opacity

Whakahaerehia te opacity o nga huānga.

Ka opacitywhakatauhia e te taonga te taumata opacity mo tetahi huānga. Ko te taumata opacity e whakaatu ana i te taumata maramara, ki 1te kore e tino marama, .5e 50% ka kitea, ka 0tino marama.

Tautuhia te opacityo te huānga ma te whakamahi .opacity-{value}taputapu.

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

API taputapu

Ko nga taputapu Opacity e whakaatuhia ana i roto i o maatau taputapu API i roto i scss/_utilities.scss. Akohia me pehea te whakamahi i nga taputapu API.

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