I need to color the strikethrough to Red while keeping the text grey. Is it possible to do this using CSS?
Yes. Create the markup so that there's a span inside your strike element. Then leave the gray on the strike and put the red on the - strike span { color: red; }
strike
strike span { color: red; }
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Yes. Create the markup so that there's a span inside your strike element. Then leave the gray on the
strike
and put the red on the -strike span { color: red; }