in English
Opacity
Puleaina le opacity o elemene.
O le opacity
meatotino e setiina le maualuga o le opacity mo se elemene. O le opacity level o loʻo faʻamatalaina le tulaga manino, i le mea 1
e le manino, .5
e 50% e iloa, ma 0
e matua manino lava.
Seti le opacity
elemene e faʻaaoga ai .opacity-{value}
mea aoga.
100%
75%
50%
25%
<div class="opacity-100">...</div>
<div class="opacity-75">...</div>
<div class="opacity-50">...</div>
<div class="opacity-25">...</div>
Utilities API
Opacity utilities o loʻo faʻaalia i totonu oa matou mea aoga API i scss/_utilities.scss
. A'oa'o pe fa'afefea ona fa'aoga mea aoga API.
"opacity": (
property: opacity,
values: (
0: 0,
25: .25,
50: .5,
75: .75,
100: 1,
)
),