in English
Opacity
Whakahaerehia te opacity o nga huānga.
Ka opacity
whakatauhia e te taonga te taumata opacity mo tetahi huānga. Ko te taumata opacity e whakaatu ana i te taumata maramara, ki 1
te kore e tino marama, .5
e 50% ka kitea, ka 0
tino marama.
Tautuhia te opacity
o 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,
)
),