Dev Helpers
← Back

Checkbox strike-through row

Checkbox strike-through row with native CSS. The preview includes a small shared demo stylesheet.

Open this example in the interactive library

Source code

<style>
  .demo:has(input:checked) span {
    text-decoration: line-through;
    opacity: 0.65;
  }
</style>
<label class="demo"
  ><input type="checkbox" /> <span>Send the proof</span></label
>