Open this example in the interactive library
Source code
<style>
.demo {
accent-color: #0f766e;
}
</style>
<label><input class="demo" type="checkbox" checked /> Weekly digest</label>
Colour the native checkbox accent with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
accent-color: #0f766e;
}
</style>
<label><input class="demo" type="checkbox" checked /> Weekly digest</label>