how to style line-through line in css code example
Example 1: css strikethrough
h1 {
text-decoration: overline;
}
h2 {
text-decoration: line-through;
}
h3 {
text-decoration: underline;
}
Example 2: line through in css
x {
text-decoration: line-through;
}