Objects in this mirror are closer to Microsoft Technologies. DNM objective is to help users on Microsoft technologies by providing Articles, snippets, Interview Questions.

04 July 2012

CSS strikethrough different color from text

In this snippet we will see how to set a different color for strike off other than text color.

<span style='color:blue;text-decoration:line-through'><span style='color:black'>black color text with blue color strike through</span></span>

 output: black color text with blue color strike through

0 Comments:

Post a Comment