in English
Opacity
Ngontrol opacity saka unsur.
Properti opacity
kasebut nyetel tingkat opacity kanggo unsur. Tingkat opacity nggambarake tingkat transparansi, 1
sing ora transparan, .5
katon 50%, lan 0
transparan.
Setel opacity
unsur nggunakake .opacity-{value}
utilitas.
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
Utilitas opacity diumumake ing API utilitas kita ing scss/_utilities.scss
. Sinau carane nggunakake API keperluan.
"opacity": (
property: opacity,
values: (
0: 0,
25: .25,
50: .5,
75: .75,
100: 1,
)
),