Opacity

Sets the opacity of an element.

ClassProperties
opacity-0opacity: 0;
opacity-10opacity: .1;
opacity-20opacity: .2;
opacity-30opacity: .3;
opacity-40opacity: .4;
opacity-50opacity: .5;
opacity-60opacity: .6;
opacity-70opacity: .7;
opacity-80opacity: .8;
opacity-90opacity: .9;
opacity-100opacity: 1;
opacity-10
opacity-40
opacity-70
opacity-100
<div class="flex align-items-center justify-content-center">
    <div class="opacity-10 flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">opacity-10</div>
    <div class="opacity-40 flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">opacity-40</div>
    <div class="opacity-70 flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">opacity-70</div>
    <div class="opacity-100 flex align-items-center justify-content-center border-round bg-primary p-3 m-3 font-bold">opacity-100</div>
</div>