Check out example codes for "css line-through color". It will help you in understanding the concepts better.

Code Example 1

span.inner {
            color: green;
        }
        span.outer {
            color: red;
            text-decoration: line-through;
        }

Learn ReactJs, React Native from akashmittal.com