Open this example in the interactive library
Source code
<style>
.demo {
background-color: #fde68a;
filter: grayscale(1);
}
</style>
<div class="demo">Convert a treatment to grayscale</div>
Convert a treatment to grayscale with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
background-color: #fde68a;
filter: grayscale(1);
}
</style>
<div class="demo">Convert a treatment to grayscale</div>