in English
Nusiwo me mekɔ o
Kpɔ nusiwo le eme ƒe opacity dzi.
Nɔnɔmea opacity
ɖoa opacity ƒe seƒe na element aɖe. Opacity level la ɖɔa transparency level, afisi 1
medzena kura o, .5
edzena 50%, eye 0
wòdzena keŋkeŋ.
Ðo opacity
element aɖe ƒe akpa aɖe to .opacity-{value}
utilities zazã me.
100% ƒe .
75% ƒe xexlẽme.
50% ƒe .
25% ƒe xexlẽme.
<div class="opacity-100">...</div>
<div class="opacity-75">...</div>
<div class="opacity-50">...</div>
<div class="opacity-25">...</div>
Dɔwɔnuwo ƒe API
Woɖe gbeƒã opacity utilities le míaƒe utilities API me le scss/_utilities.scss
. Srɔ̃ alesi nàzã utilities API lae.
"opacity": (
property: opacity,
values: (
0: 0,
25: .25,
50: .5,
75: .75,
100: 1,
)
),