Adding to @gojomo you could use :after
pseudo element for the additional element. The only caveat is that you'll need to define your innerText
in a data-text
attribute since CSS has limited content
functions.
s { color: red; text-align: -1000em; overflow: hidden;}s:after { color: black; content: attr(data-text);}
<s data-text="Strikethrough">Strikethrough</s>