CSS text-decoration-line

Previous Next

Demo of the different values of the text-decoration-line property.

Click the property values below to see the result:

text-decoration-line: none;
text-decoration-line: underline;
text-decoration-line: overline;
text-decoration-line: line-through;
text-decoration-line: underline overline;
text-decoration-line: underline overline line-through;

Decorate me!

Decorate me!

Decorate me!

Decorate me!

Decorate me!

Decorate me!

Play more with the code in our Tryit yourself editor: Try it Yourself ❯