Answers for "line over text in css"

CSS
53

text-decoration css

h1 {
  text-decoration: overline;
}

h2 {
  text-decoration: line-through;
}

h3 {
  text-decoration: underline;
}

h4 {
  text-decoration: underline overline;
}
Posted by: Guest on February-20-2020
0

line through text css

text-decoration: line-through
Posted by: Guest on January-16-2021

Browse Popular Code Answers by Language