in English
Opacity a ni
Element hrang hrangte opacity control rawh.
Property hian opacity
element pakhat tana opacity level a set a. Opacity level hian transparency level a sawifiah a, chutah chuan 1
a langtlang lo tak zet a, .5
50% a lang thei a, a 0
langtlang vek bawk.
Utilities opacity
hmangin element pakhat chu set rawh ..opacity-{value}
100% a ni.
75% a ni.
50% a ni.
25% a ni.
<div class="opacity-100">...</div>
<div class="opacity-75">...</div>
<div class="opacity-50">...</div>
<div class="opacity-25">...</div>
Utilities API hmanga thil tih a ni
Opacity utilities hi kan utilities API ah hian scss/_utilities.scss
. Utilities API hman dan zir rawh.
"opacity": (
property: opacity,
values: (
0: 0,
25: .25,
50: .5,
75: .75,
100: 1,
)
),