<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;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.