in English
Opacity (Opacity) ye
Kɔlɔsili kɛ fɛnw ka opacity (opacité) kan.
Nafolo opacity
bɛ opacity hakɛ sigi element dɔ la. Opacity nivo bɛ transparence nivo ɲɛfɔ, yɔrɔ min na 1
a tɛ transparent fewu, .5
a bɛ ye 50%, wa 0
a bɛ transparent pewu.
Set the opacity
of an element ni .opacity-{value}
nafalanw ye.
100% ye .
75% ye .
50% ye .
25% ye .
<div class="opacity-100">...</div>
<div class="opacity-75">...</div>
<div class="opacity-50">...</div>
<div class="opacity-25">...</div>
Nafamafɛnw API
Opacity nafamafɛnw bɛ fɔ an ka nafamafɛnw API kɔnɔ san scss/_utilities.scss
. Aw ye baara kɛcogo dɔn ni utilities API ye.
"opacity": (
property: opacity,
values: (
0: 0,
25: .25,
50: .5,
75: .75,
100: 1,
)
),