How can I change the color of the the strike-through line?
If I give the strike tag a class and then use CSS to change the color, it also changes the text color. I just want to change the color of the line and not the text.
<!-- begin snippet: js hide: false console: true babel: false --> <!-- language: lang-css -->h1 {
color: #4287f5;
}
.strike {
color: #eb1515;
}
<!-- language: lang-html -->
<h1><s class="strike">£1000</s></h1>
<!-- end snippet -->