Text decoration

Syntax

Class
Properties
underline
text-decoration: underline;
line-through
text-decoration: line-through;
text-decoration-none
text-decoration: none;
<div class="t1 w-256 p-16 bg-c-white shadow-4 underline"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam sit amet ullamcorper neque. Donec placerat mi ut enim porttitor sagittis. </div>

Specification test cases

The test cases below are imported from the Turbo CSS specification. They have been executed upon loading this page.
Underline
t1 underline
.t1.underline { text-decoration: underline; }
Line through
t1 line-through
.t1.line-through { text-decoration: line-through; }
No text decoration
t1 text-decoration-none
.t1.text-decoration-none { text-decoration: none; }