<div>Какой-то <span class="textline">текст для</span> примера.</div>
<div>Вторая <span class="second">фраза</span> в примере.</div>
div { font-size: 55px; }
.textline {
  -webkit-text-decoration-color: green;
  text-decoration-color: green;
  -webkit-text-decoration-line: line-through;
  text-decoration-line: line-through;
}
.second {
  -webkit-text-decoration: line-through red;
  text-decoration: line-through red;
}
Rerun