Jya ku bintu nyamukuru Jya kuri docs
Check
in English

Amahirwe

Igenzura neza ibintu.

Umutungo opacityushyiraho urwego rwibanze kubintu. Urwego rudasobanutse rusobanura urwego rwimikorere, aho rutagaragara 1neza na gato, .5rugaragara 50%, kandi 0ruragaragara rwose.

Shiraho ibice opacityukoresheje .opacity-{value}ibikoresho.

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

Ibikorwa API

Ibikorwa bya Opacity byatangajwe mubikorwa byacu API muri scss/_utilities.scss. Wige gukoresha ibikoresho API.

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