Tlolela go diteng tše kgolo Tlolela go docs navigation
in English

Go se bonagale gabotse

Laola opacity ya elements.

Thepa opacitye beakanya maemo a opacity bakeng sa elemente. Boemo bja opacity bo hlaloša maemo a go ba pepeneneng, moo 1e sego pepeneneng le gatee, .5ke 50% e bonagalago, gomme 0e bonagala ka botlalo.

Beha ya opacityya elemente sebelisa .opacity-{value}utilities.

100% e le .
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 Didirišwa

Didirišwa tša go se bonagale di tsebagaditšwe ka go API ya rena ya didirišwa ka scss/_utilities.scss. Ithute kamoo o ka dirišago API ya didirišwa.

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