Open this example in the interactive library
Source code
<style>
.demo {
border-inline-start: 0.25rem solid currentColor;
font-weight: 700;
}
</style>
<p class="demo"><span aria-hidden="true">✓</span> Completed</p>
Keep status information visible without colour with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
border-inline-start: 0.25rem solid currentColor;
font-weight: 700;
}
</style>
<p class="demo"><span aria-hidden="true">✓</span> Completed</p>