<p id="p1">Lorem ipsum dolor sit amet consectetur.</p>
<p id="p2">Lorem ipsum dolor sit amet consectetur.</p>
<p id="p3">Lorem ipsum dolor sit amet consectetur.</p>
#p1 {
text-decoration-line: underline;
text-decoration-color: red;
}
#p2 {
text-decoration-line: underline;
text-decoration-color: red;
text-decoration-thickness: 5px;
}
#p3 {
text-decoration-line: underline;
text-decoration-color: red;
text-decoration-style: wavy;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.