Open this example in the interactive library
Source code
<style>
.demo {
opacity: 0.55;
}
</style>
<div class="demo">Apply transparency to the whole element</div>
Apply transparency to the whole element with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
opacity: 0.55;
}
</style>
<div class="demo">Apply transparency to the whole element</div>