Text Decoration
Controls the text decoration of an element.
| Class | Style |
|---|---|
| td-none | text-decoration: none;
|
| td-u | text-decoration: underline;
|
None
The text will be displayed without any decoration.
Sphinx of black quartz, judge my vow.
<div class="bg-indigo-1 p-4 rad-1"> <p class="bg-white fs-lg p-4 rad-1 ta-c tc-slate td-none">Sphinx of black quartz, judge my vow.</p></div>Underline
The text will be displayed with an underline.
Sphinx of black quartz, judge my vow.
<div class="bg-indigo-1 p-4 rad-1"> <p class="bg-white fs-lg p-4 rad-1 ta-c tc-slate td-u">Sphinx of black quartz, judge my vow.</p></div>Conditional styles
Learn how to override existing utilities based on the user’s screen size or other factors, such as hover states.
Breakpoint variant
You can combine responsive breakpoints like sm:td-*,md:td-*, lg:td-*, and xxl:td-* to allow targeting specific utilities in different viewports.
<div class="td-none md:td-u ..."></div>Hover variant
Alternatively, you can apply :hover by using h:td-* utility to override elements and change their values when hovering over
them.
<div class="td-none h:td-u ..."></div>